Module file_scan_config

Module file_scan_config 

Source
Expand description

FileScanConfig to configure scanning of possibly partitioned file sources.

Structsยง

FileScanConfig
The base configurations for a DataSourceExec, the a physical plan for any given file format.
FileScanConfigBuilder
A builder for FileScanConfigโ€™s.
PartitionColumnProjector
A helper that projects partition columns into the file record batches.
ZeroBufferGenerator ๐Ÿ”’
Generate a arrow [Buffer] that contains zero values.
ZeroBufferGenerators ๐Ÿ”’

Functionsยง

create_dict_array ๐Ÿ”’
create_output_array ๐Ÿ”’
get_projected_output_ordering ๐Ÿ”’
The various listing tables does not attempt to read all files concurrently, instead they will read files in sequence within a partition. This is an important property as it allows plans to run against 1000s of files and not try to open them all concurrently.
wrap_partition_type_in_dict
Convert type to a type suitable for use as a ListingTable partition column. Returns Dictionary(UInt16, val_type), which is a reasonable trade off between a reasonable number of partition values and space efficiency.
wrap_partition_value_in_dict
Convert a ScalarValue of partition columns to a type, as described in the documentation of wrap_partition_type_in_dict, which can wrap the types.