Skip to content

Commit

Permalink
Update datafusion/src/physical_plan/window_functions.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
  • Loading branch information
2 people authored and Jiayu Liu committed May 21, 2021
1 parent 0cbca53 commit abf08cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/src/physical_plan/window_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl FromStr for BuiltInWindowFunction {
}
}

/// Returns the datatype of the scalar function
/// Returns the datatype of the window function
pub fn return_type(fun: &WindowFunction, arg_types: &[DataType]) -> Result<DataType> {
// Note that this function *must* return the same type that the respective physical expression returns
// or the execution panics.
Expand Down

0 comments on commit abf08cd

Please sign in to comment.