Skip to content

Commit 6be0016

Browse files
convert window function ntile to udwf
Ref: apache/datafusion#12694
1 parent fb7b32c commit 6be0016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ pub fn ntile(
838838
partition_by: Option<Vec<PyExpr>>,
839839
order_by: Option<Vec<PySortExpr>>,
840840
) -> PyResult<PyExpr> {
841-
let window_fn = window_function::ntile(arg.into());
841+
let window_fn = datafusion::functions_window::expr_fn::ntile(arg.into());
842842

843843
add_builder_fns_to_window(window_fn, partition_by, None, order_by, None)
844844
}

0 commit comments

Comments
 (0)