deltalake_core::delta_datafusion

Trait DataFusionMixins

Source
pub trait DataFusionMixins {
    // Required methods
    fn arrow_schema(&self) -> DeltaResult<ArrowSchemaRef>;
    fn input_schema(&self) -> DeltaResult<ArrowSchemaRef>;
    fn parse_predicate_expression(
        &self,
        expr: impl AsRef<str>,
        df_state: &SessionState,
    ) -> DeltaResult<Expr>;
}
Expand description

Convience trait for calling common methods on snapshot heirarchies

Required Methods§

Source

fn arrow_schema(&self) -> DeltaResult<ArrowSchemaRef>

The physical datafusion schema of a table

Source

fn input_schema(&self) -> DeltaResult<ArrowSchemaRef>

Get the table schema as an ArrowSchemaRef

Source

fn parse_predicate_expression( &self, expr: impl AsRef<str>, df_state: &SessionState, ) -> DeltaResult<Expr>

Parse an expression string into a datafusion Expr

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§