pub struct FileScanConfig {
    pub object_store: Arc<dyn ObjectStore>,
    pub file_schema: SchemaRef,
    pub file_groups: Vec<Vec<PartitionedFile>>,
    pub statistics: Statistics,
    pub projection: Option<Vec<usize>>,
    pub limit: Option<usize>,
    pub table_partition_cols: Vec<String>,
}
Expand description

The base configurations to provide when creating a physical plan for any given file format.

Fields

object_store: Arc<dyn ObjectStore>

Store from which the files should be fetched

file_schema: SchemaRef

Schema before projection. It contains the columns that are expected to be in the files without the table partition columns.

file_groups: Vec<Vec<PartitionedFile>>

List of files to be processed, grouped into partitions

statistics: Statistics

Estimated overall statistics of the files, taking filters into account.

projection: Option<Vec<usize>>

Columns on which to project the data. Indexes that are higher than the number of columns of file_schema refer to table_partition_cols.

limit: Option<usize>

The minimum number of records required from this source plan

table_partition_cols: Vec<String>

The partitioning column names

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.