pub type StateTypeFunction = Arc<dyn Fn(&DataType) -> Result<Arc<Vec<DataType, Global>, Global>, DataFusionError> + Send + Sync, Global>;
Expand description

Factory that returns the types used by an aggregator to serialize its state, given its return datatype.