Trait TypePlanner

Source
pub trait TypePlanner:
    Debug
    + Send
    + Sync {
    // Provided method
    fn plan_type(&self, _sql_type: &DataType) -> Result<Option<DataType>> { ... }
}
Expand description

This trait allows users to customize the behavior of the data type planning

Provided Methods§

Source

fn plan_type(&self, _sql_type: &DataType) -> Result<Option<DataType>>

Plan SQL type to DataFusion data type

Returns None if not possible

Implementors§