MCPcopy Create free account
hub / github.com/apache/datafusion / with_file

Method with_file

datafusion/datasource/src/file_stream/mod.rs:1357–1359  ·  view source on GitHub ↗

Adds one file and its root planner to partition 0.

(self, planner: impl Into<MockPlanner>)

Source from the content-addressed store, hash-verified

1355
1356 /// Adds one file and its root planner to partition 0.
1357 fn with_file(self, planner: impl Into<MockPlanner>) -> Self {
1358 self.with_file_in_partition(PartitionId(0), planner)
1359 }
1360
1361 /// Adds one file and its root planner to the specified input partition.
1362 fn with_file_in_partition(

Callers 10

builder_test_configFunction · 0.45
morsel_no_ioFunction · 0.45
morsel_two_ios_one_batchFunction · 0.45
morsel_io_errorFunction · 0.45
morsel_multiple_filesFunction · 0.45

Calls 2

PartitionIdClass · 0.85

Tested by

no test coverage detected