@@ -1367,7 +1367,8 @@ fn parse_select_count_wildcard() {
13671367 null_treatment: None,
13681368 filter: None,
13691369 over: None,
1370- within_group: vec![]
1370+ within_group: vec![],
1371+ approximate: false,
13711372 }),
13721373 expr_from_projection(only(&select.projection))
13731374 );
@@ -1392,6 +1393,7 @@ fn parse_select_count_distinct() {
13921393 }),
13931394 null_treatment: None,
13941395 within_group: vec![],
1396+ approximate: false,
13951397 filter: None,
13961398 over: None
13971399 }),
@@ -2997,7 +2999,8 @@ fn parse_select_having() {
29972999 null_treatment: None,
29983000 filter: None,
29993001 over: None,
3000- within_group: vec![]
3002+ within_group: vec![],
3003+ approximate: false,
30013004 })),
30023005 op: BinaryOperator::Gt,
30033006 right: Box::new(Expr::value(number("1"))),
@@ -3040,7 +3043,8 @@ fn parse_select_qualify() {
30403043 }],
30413044 window_frame: None,
30423045 })),
3043- within_group: vec![]
3046+ within_group: vec![],
3047+ approximate: false,
30443048 })),
30453049 op: BinaryOperator::Eq,
30463050 right: Box::new(Expr::value(number("1"))),
@@ -3499,7 +3503,8 @@ fn parse_listagg() {
34993503 },
35003504 with_fill: None,
35013505 },
3502- ]
3506+ ],
3507+ approximate: false,
35033508 }),
35043509 expr_from_projection(only(&select.projection))
35053510 );
@@ -5648,7 +5653,8 @@ fn parse_named_argument_function() {
56485653 null_treatment: None,
56495654 filter: None,
56505655 over: None,
5651- within_group: vec![]
5656+ within_group: vec![],
5657+ approximate: false,
56525658 }),
56535659 expr_from_projection(only(&select.projection))
56545660 );
@@ -5689,6 +5695,7 @@ fn parse_named_argument_function_with_eq_operator() {
56895695 filter: None,
56905696 over: None,
56915697 within_group: vec![],
5698+ approximate: false,
56925699 }),
56935700 expr_from_projection(only(&select.projection))
56945701 );
@@ -5761,6 +5768,7 @@ fn parse_window_functions() {
57615768 window_frame: None,
57625769 })),
57635770 within_group: vec![],
5771+ approximate: false,
57645772 }),
57655773 expr_from_projection(&select.projection[0])
57665774 );
@@ -5901,6 +5909,7 @@ fn test_parse_named_window() {
59015909 span: Span::empty(),
59025910 })),
59035911 within_group: vec![],
5912+ approximate: false,
59045913 }),
59055914 alias: Ident {
59065915 value: "min1".to_string(),
@@ -5936,6 +5945,7 @@ fn test_parse_named_window() {
59365945 span: Span::empty(),
59375946 })),
59385947 within_group: vec![],
5948+ approximate: false,
59395949 }),
59405950 alias: Ident {
59415951 value: "max1".to_string(),
@@ -10639,6 +10649,7 @@ fn parse_time_functions() {
1063910649 filter: None,
1064010650 over: None,
1064110651 within_group: vec![],
10652+ approximate: false,
1064210653 };
1064310654 assert_eq!(
1064410655 &Expr::Function(select_localtime_func_call_ast.clone()),
@@ -12274,6 +12285,7 @@ fn parse_call() {
1227412285 null_treatment: None,
1227512286 over: None,
1227612287 within_group: vec![],
12288+ approximate: false,
1227712289 })
1227812290 );
1227912291}
@@ -12743,6 +12755,7 @@ fn parse_map_access_expr() {
1274312755 null_treatment: None,
1274412756 over: None,
1274512757 within_group: vec![],
12758+ approximate: false,
1274612759 uses_odbc_syntax: false,
1274712760 }),
1274812761 }),
@@ -13084,6 +13097,7 @@ fn test_selective_aggregation() {
1308413097 ))))),
1308513098 over: None,
1308613099 within_group: vec![],
13100+ approximate: false,
1308713101 null_treatment: None
1308813102 })),
1308913103 SelectItem::ExprWithAlias {
@@ -13109,7 +13123,8 @@ fn test_selective_aggregation() {
1310913123 })),
1311013124 null_treatment: None,
1311113125 over: None,
13112- within_group: vec![]
13126+ within_group: vec![],
13127+ approximate: false,
1311313128 }),
1311413129 alias: Ident::new("agg2")
1311513130 },
@@ -15531,7 +15546,8 @@ fn parse_composite_access_expr() {
1553115546 null_treatment: None,
1553215547 filter: None,
1553315548 over: None,
15534- within_group: vec![]
15549+ within_group: vec![],
15550+ approximate: false,
1553515551 })),
1553615552 access_chain: vec![AccessExpr::Dot(Expr::Identifier(Ident::new("b")))]
1553715553 }
@@ -15555,7 +15571,8 @@ fn parse_composite_access_expr() {
1555515571 null_treatment: None,
1555615572 filter: None,
1555715573 over: None,
15558- within_group: vec![]
15574+ within_group: vec![],
15575+ approximate: false,
1555915576 })),
1556015577 access_chain: vec![
1556115578 AccessExpr::Dot(Expr::Identifier(Ident::new("b"))),
@@ -15582,6 +15599,7 @@ fn parse_composite_access_expr() {
1558215599 filter: None,
1558315600 over: None,
1558415601 within_group: vec![],
15602+ approximate: false,
1558515603 })),
1558615604 access_chain: vec![AccessExpr::Dot(Expr::Identifier(Ident::new("b")))],
1558715605 };
0 commit comments