pub trait TypePlanner: Debug + Send + Sync { // Provided method fn plan_type(&self, _sql_type: &DataType) -> Result<Option<DataType>> { ... } }
Customize planning SQL types to DataFusion (Arrow) types.
Plan SQL ast::DataType to DataFusion DataType
ast::DataType
DataType
Returns None if not possible