Function datafusion::logical_expr::aggregate_function::return_type
source · pub fn return_type(
fun: &AggregateFunction,
input_expr_types: &[DataType]
) -> Result<DataType, DataFusionError>
Expand description
Returns the datatype of the aggregate function. This is used to get the returned data type for aggregate expr.