CastColumnFn

Type Alias CastColumnFn 

Source
pub type CastColumnFn = dyn Fn(&Arc<dyn Array>, &Field, &CastOptions<'_>) -> Result<Arc<dyn Array>, DataFusionError> + Sync + Send;
Expand description

Function used by SchemaMapping to adapt a column from the file schema to the table schema.