@@ -842,6 +842,7 @@ fn parse_select_count_wildcard() {
842
842
distinct: false ,
843
843
special: false ,
844
844
order_by: vec![ ] ,
845
+ null_treatment: None ,
845
846
} ) ,
846
847
expr_from_projection( only( & select. projection) )
847
848
) ;
@@ -862,6 +863,7 @@ fn parse_select_count_distinct() {
862
863
distinct: true ,
863
864
special: false ,
864
865
order_by: vec![ ] ,
866
+ null_treatment: None ,
865
867
} ) ,
866
868
expr_from_projection( only( & select. projection) )
867
869
) ;
@@ -1700,6 +1702,7 @@ fn parse_select_having() {
1700
1702
distinct: false ,
1701
1703
special: false ,
1702
1704
order_by: vec![ ] ,
1705
+ null_treatment: None ,
1703
1706
} ) ) ,
1704
1707
op: BinaryOperator :: Gt ,
1705
1708
right: Box :: new( Expr :: Value ( number( "1" ) ) ) ,
@@ -3152,6 +3155,7 @@ fn parse_scalar_function_in_projection() {
3152
3155
distinct: false ,
3153
3156
special: false ,
3154
3157
order_by: vec![ ] ,
3158
+ null_treatment: None ,
3155
3159
} ) ,
3156
3160
expr_from_projection( only( & select. projection) )
3157
3161
) ;
@@ -3271,6 +3275,7 @@ fn parse_named_argument_function() {
3271
3275
distinct: false ,
3272
3276
special: false ,
3273
3277
order_by: vec![ ] ,
3278
+ null_treatment: None ,
3274
3279
} ) ,
3275
3280
expr_from_projection( only( & select. projection) )
3276
3281
) ;
@@ -3310,6 +3315,7 @@ fn parse_window_functions() {
3310
3315
distinct: false ,
3311
3316
special: false ,
3312
3317
order_by: vec![ ] ,
3318
+ null_treatment: None ,
3313
3319
} ) ,
3314
3320
expr_from_projection( & select. projection[ 0 ] )
3315
3321
) ;
@@ -3348,6 +3354,7 @@ fn test_parse_named_window() {
3348
3354
distinct: false ,
3349
3355
special: false ,
3350
3356
order_by: vec![ ] ,
3357
+ null_treatment: None ,
3351
3358
} ) ,
3352
3359
alias: Ident {
3353
3360
value: "min1" . to_string( ) ,
@@ -3373,6 +3380,7 @@ fn test_parse_named_window() {
3373
3380
distinct: false ,
3374
3381
special: false ,
3375
3382
order_by: vec![ ] ,
3383
+ null_treatment: None ,
3376
3384
} ) ,
3377
3385
alias: Ident {
3378
3386
value: "max1" . to_string( ) ,
@@ -3835,6 +3843,7 @@ fn parse_at_timezone() {
3835
3843
distinct: false ,
3836
3844
special: false ,
3837
3845
order_by: vec![ ] ,
3846
+ null_treatment: None ,
3838
3847
} ) ) ,
3839
3848
time_zone: "UTC-06:00" . to_string( ) ,
3840
3849
} ,
@@ -3862,6 +3871,7 @@ fn parse_at_timezone() {
3862
3871
distinct: false ,
3863
3872
special: false ,
3864
3873
order_by: vec![ ] ,
3874
+ null_treatment: None ,
3865
3875
} , ) ) ,
3866
3876
time_zone: "UTC-06:00" . to_string( ) ,
3867
3877
} , ) , ) ,
@@ -3873,6 +3883,7 @@ fn parse_at_timezone() {
3873
3883
distinct: false ,
3874
3884
special: false ,
3875
3885
order_by: vec![ ] ,
3886
+ null_treatment: None ,
3876
3887
} , ) ,
3877
3888
alias: Ident {
3878
3889
value: "hour" . to_string( ) ,
@@ -4031,6 +4042,7 @@ fn parse_table_function() {
4031
4042
distinct : false ,
4032
4043
special : false ,
4033
4044
order_by : vec ! [ ] ,
4045
+ null_treatment : None ,
4034
4046
} ) ;
4035
4047
assert_eq ! ( expr, expected_expr) ;
4036
4048
assert_eq ! ( alias, table_alias( "a" ) )
@@ -6482,6 +6494,7 @@ fn parse_time_functions() {
6482
6494
distinct: false ,
6483
6495
special: false ,
6484
6496
order_by: vec![ ] ,
6497
+ null_treatment: None ,
6485
6498
} ) ,
6486
6499
expr_from_projection( & select. projection[ 0 ] )
6487
6500
) ;
@@ -6499,6 +6512,7 @@ fn parse_time_functions() {
6499
6512
distinct: false ,
6500
6513
special: false ,
6501
6514
order_by: vec![ ] ,
6515
+ null_treatment: None ,
6502
6516
} ) ,
6503
6517
expr_from_projection( & select. projection[ 0 ] )
6504
6518
) ;
@@ -6516,6 +6530,7 @@ fn parse_time_functions() {
6516
6530
distinct: false ,
6517
6531
special: false ,
6518
6532
order_by: vec![ ] ,
6533
+ null_treatment: None ,
6519
6534
} ) ,
6520
6535
expr_from_projection( & select. projection[ 0 ] )
6521
6536
) ;
@@ -6533,6 +6548,7 @@ fn parse_time_functions() {
6533
6548
distinct: false ,
6534
6549
special: false ,
6535
6550
order_by: vec![ ] ,
6551
+ null_treatment: None ,
6536
6552
} ) ,
6537
6553
expr_from_projection( & select. projection[ 0 ] )
6538
6554
) ;
@@ -6550,6 +6566,7 @@ fn parse_time_functions() {
6550
6566
distinct: false ,
6551
6567
special: false ,
6552
6568
order_by: vec![ ] ,
6569
+ null_treatment: None ,
6553
6570
} ) ,
6554
6571
expr_from_projection( & select. projection[ 0 ] )
6555
6572
) ;
@@ -7015,6 +7032,7 @@ fn parse_pivot_table() {
7015
7032
distinct: false ,
7016
7033
special: false ,
7017
7034
order_by: vec![ ] ,
7035
+ null_treatment: None ,
7018
7036
} ) ,
7019
7037
value_column: vec![ Ident :: new( "a" ) , Ident :: new( "MONTH" ) ] ,
7020
7038
pivot_values: vec![
0 commit comments