Expand description
DataFusion data sources: TableProvider
and ListingTable
Modules§
- cte_
worktable - CteWorkTable implementation used for recursive queries
- default_
table_ source - Default TableSource implementation used in DataFusion physical plans
- dynamic_
file - dynamic_file_schema contains an
UrlTableFactory
implementation that can create aListingTable
from the given url. - empty
EmptyTable
useful for testing.- file_
format - Module containing helper methods for the various file formats See write.rs for write related helper methods
- listing
- A table that uses the
ObjectStore
listing capability to get the list of files to process. - listing_
table_ factory - Factory for creating ListingTables with default options
- memory
- object_
store - ObjectStoreRegistry holds all the object stores at Runtime with a scheme for each store. This allows the user to extend DataFusion with different storage systems such as S3 or HDFS and query data inside these systems.
- physical_
plan - Execution plans that read file formats
- provider
- Data source traits
- schema_
adapter SchemaAdapter
andSchemaAdapterFactory
to adapt file-level record batches to a table schema.- sink
- Execution plan for writing data to
DataSink
s - source
DataSource
andDataSourceExec
- stream
- TableProvider for stream sources, such as FIFO files
- view
- View data source which uses a LogicalPlan as it’s input.
Structs§
- Default
Table Source - Implements
TableSource
for aTableProvider
- MemTable
- In-memory data source for presenting a
Vec<RecordBatch>
as a data source that can be queried by DataFusion. This allows data to be pre-loaded into memory and then repeatedly queried without incurring additional file I/O overhead. - View
Table - An implementation of
TableProvider
that uses another logical plan.
Enums§
- Table
Type - Indicates the type of this table for metadata/catalog purposes.
Traits§
- Table
Provider - A table which can be queried and modified.
Functions§
- create_
ordering - Converts logical sort expressions to physical sort expressions
- provider_
as_ source - Wrap TableProvider in TableSource
- source_
as_ provider - Attempt to downcast a TableSource to DefaultTableSource and access the TableProvider. This will only work with a TableSource created by DataFusion.