Expand description
Datafusion integration for Delta Table
Example:
use std::sync::Arc;
use datafusion::execution::context::SessionContext;
async {
let mut ctx = SessionContext::new();
let table = deltalake_core::open_table("./tests/data/simple_table")
.await
.unwrap();
ctx.register_table("demo", Arc::new(table)).unwrap();
let batches = ctx
.sql("SELECT * FROM demo").await.unwrap()
.collect()
.await.unwrap();
};
Modules§
- Logical operators and physical executions for CDF
- Utility functions for Datafusion’s Expressions
- Logical Operations for DataFusion
- Physical Operations for DataFusion
- Custom planners for datafusion so that you can convert custom nodes, can be used to trace custom metrics in an operation
Structs§
- A wrapper for Deltafusion’s Column to preserve case-sensitivity during string conversion
- Responsible for checking batches of data conform to table’s invariants, constraints and nullability.
- Does serde on DeltaTables
- A wrapper for sql_parser’s ParserOptions to capture sane default table defaults
- A codec for deltalake physical plans
- A wrapper for parquet scans
- Include additional metadata columns during a
DeltaScan
- Used to specify if additional metadata columns are exposed to the user
- A wrapper for Deltafusion’s SessionConfig to capture sane default table defaults
- A wrapper for Deltafusion’s SessionContext to capture sane default table defaults
- Responsible for creating deltatables
- A Delta table provider that enables additional metadata columns to be included during the scan
- Representing the result of the find_files function.
Traits§
- Convience trait for calling common methods on snapshot heirarchies
Functions§
- Finds files in a snapshot that match the provided predicate.