Trait datafusion_common::ExprSchema
source · [−]pub trait ExprSchema {
fn nullable(&self, col: &Column) -> Result<bool>;
fn data_type(&self, col: &Column) -> Result<&DataType>;
}Expand description
Provides schema information needed by [Expr] methods such as [Expr::nullable] and [Expr::data_type].
Note that this trait is implemented for &DFSchema which is widely used in the DataFusion codebase.