File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,7 @@ use datafusion::functions_aggregate;
3636use datafusion:: functions_window;
3737use datafusion:: logical_expr:: expr:: Alias ;
3838use datafusion:: logical_expr:: sqlparser:: ast:: NullTreatment as DFNullTreatment ;
39- use datafusion:: logical_expr:: {
40- expr:: { find_df_window_func, WindowFunction } ,
41- lit, Expr , WindowFunctionDefinition ,
42- } ;
39+ use datafusion:: logical_expr:: { expr:: WindowFunction , lit, Expr , WindowFunctionDefinition } ;
4340
4441fn add_builder_fns_to_aggregate (
4542 agg_fn : Expr ,
@@ -232,12 +229,6 @@ fn when(when: PyExpr, then: PyExpr) -> PyResult<PyCaseBuilder> {
232229///
233230/// NOTE: we search the built-ins first because the `UDAF` versions currently do not have the same behavior.
234231fn find_window_fn ( name : & str , ctx : Option < PySessionContext > ) -> PyResult < WindowFunctionDefinition > {
235- // search built in window functions (soon to be deprecated)
236- let df_window_func = find_df_window_func ( name) ;
237- if let Some ( df_window_func) = df_window_func {
238- return Ok ( df_window_func) ;
239- }
240-
241232 if let Some ( ctx) = ctx {
242233 // search UDAFs
243234 let udaf = ctx
You can’t perform that action at this time.
0 commit comments