pub trait ExprSchema {
    fn nullable(&self, col: &Column) -> Result<bool, DataFusionError>;
    fn data_type(&self, col: &Column) -> Result<&DataType, DataFusionError>;
}
Expand description

Provides schema information needed by certain methods of Expr (defined in the datafusion-common crate).

Note that this trait is implemented for &DFSchema which is widely used in the DataFusion codebase.

Required Methods

Is this column reference nullable?

What is the datatype of this column?

Implementors