@@ -54,7 +54,7 @@ use datafusion_expr::expr::{
5454} ;
5555use datafusion_expr:: logical_plan:: { Extension , UserDefinedLogicalNodeCore } ;
5656use datafusion_expr:: {
57- Accumulator , AggregateExt , AggregateFunction , ColumnarValue , ExprSchemable ,
57+ Accumulator , AggregateExt , ColumnarValue , ExprSchemable ,
5858 LogicalPlan , Operator , PartitionEvaluator , ScalarUDF , ScalarUDFImpl , Signature ,
5959 TryCast , Volatility , WindowFrame , WindowFrameBound , WindowFrameUnits ,
6060 WindowFunctionDefinition , WindowUDF , WindowUDFImpl ,
@@ -2026,14 +2026,6 @@ fn roundtrip_window() {
20262026 WindowFrameBound :: Following ( ScalarValue :: UInt64 ( Some ( 2 ) ) ) ,
20272027 ) ;
20282028
2029- let test_expr4 = Expr :: WindowFunction ( expr:: WindowFunction :: new (
2030- WindowFunctionDefinition :: AggregateFunction ( AggregateFunction :: Max ) ,
2031- vec ! [ col( "col1" ) ] ,
2032- vec ! [ col( "col1" ) ] ,
2033- vec ! [ col( "col2" ) ] ,
2034- row_number_frame. clone ( ) ,
2035- None ,
2036- ) ) ;
20372029
20382030 // 5. test with AggregateUDF
20392031 #[ derive( Debug ) ]
@@ -2168,7 +2160,6 @@ fn roundtrip_window() {
21682160 roundtrip_expr_test ( test_expr1, ctx. clone ( ) ) ;
21692161 roundtrip_expr_test ( test_expr2, ctx. clone ( ) ) ;
21702162 roundtrip_expr_test ( test_expr3, ctx. clone ( ) ) ;
2171- roundtrip_expr_test ( test_expr4, ctx. clone ( ) ) ;
21722163 roundtrip_expr_test ( test_expr5, ctx. clone ( ) ) ;
21732164 roundtrip_expr_test ( test_expr6, ctx) ;
21742165}
0 commit comments