pub fn return_type(
    fun: &AggregateFunction,
    input_expr_types: &[DataType]
) -> Result<DataType>
Expand description

Returns the datatype of the aggregate function. This is used to get the returned data type for aggregate expr.