File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
core/src/execution/context Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2893,21 +2893,21 @@ mod tests {
28932893 for function in all_default_functions ( ) {
28942894 let udf = new_state. register_udf ( function) . unwrap ( ) ;
28952895 if let Some ( udf) = udf {
2896- assert ! ( false , "Function {} already registered" , udf. name( ) ) ;
2896+ unreachable ! ( "Function {} already registered" , udf. name( ) ) ;
28972897 }
28982898 }
28992899
29002900 for function in all_default_array_functions ( ) {
29012901 let udf = new_state. register_udf ( function) . unwrap ( ) ;
29022902 if let Some ( udf) = udf {
2903- assert ! ( false , "Function {} already registered" , udf. name( ) ) ;
2903+ unreachable ! ( "Function {} already registered" , udf. name( ) ) ;
29042904 }
29052905 }
29062906
29072907 for function in all_default_aggregate_functions ( ) {
29082908 let udaf = new_state. register_udaf ( function) . unwrap ( ) ;
29092909 if let Some ( udaf) = udaf {
2910- assert ! ( false , "Function {} already registered" , udaf. name( ) ) ;
2910+ unreachable ! ( "Function {} already registered" , udaf. name( ) ) ;
29112911 }
29122912 }
29132913
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ impl OptimizerRule for PushDownLimit {
6565 } ;
6666
6767 let Limit { skip, fetch, input } = limit;
68- let input = input;
6968
7069 // Merge the Parent Limit and the Child Limit.
7170 if let LogicalPlan :: Limit ( child) = input. as_ref ( ) {
You can’t perform that action at this time.
0 commit comments