pub fn return_type( fun: &WindowFunction, input_expr_types: &[DataType]) -> Result<DataType>
Returns the datatype of the window function