@@ -3004,6 +3004,7 @@ fn parse_cast() {
30043004 kind: CastKind::Cast,
30053005 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30063006 data_type: DataType::BigInt(None),
3007+ array: false,
30073008 format: None,
30083009 },
30093010 expr_from_projection(only(&select.projection))
@@ -3016,6 +3017,7 @@ fn parse_cast() {
30163017 kind: CastKind::Cast,
30173018 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30183019 data_type: DataType::TinyInt(None),
3020+ array: false,
30193021 format: None,
30203022 },
30213023 expr_from_projection(only(&select.projection))
@@ -3047,6 +3049,7 @@ fn parse_cast() {
30473049 length: 50,
30483050 unit: None,
30493051 })),
3052+ array: false,
30503053 format: None,
30513054 },
30523055 expr_from_projection(only(&select.projection))
@@ -3059,6 +3062,7 @@ fn parse_cast() {
30593062 kind: CastKind::Cast,
30603063 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30613064 data_type: DataType::Clob(None),
3065+ array: false,
30623066 format: None,
30633067 },
30643068 expr_from_projection(only(&select.projection))
@@ -3071,6 +3075,7 @@ fn parse_cast() {
30713075 kind: CastKind::Cast,
30723076 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30733077 data_type: DataType::Clob(Some(50)),
3078+ array: false,
30743079 format: None,
30753080 },
30763081 expr_from_projection(only(&select.projection))
@@ -3083,6 +3088,7 @@ fn parse_cast() {
30833088 kind: CastKind::Cast,
30843089 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30853090 data_type: DataType::Binary(Some(50)),
3091+ array: false,
30863092 format: None,
30873093 },
30883094 expr_from_projection(only(&select.projection))
@@ -3095,6 +3101,7 @@ fn parse_cast() {
30953101 kind: CastKind::Cast,
30963102 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30973103 data_type: DataType::Varbinary(Some(BinaryLength::IntegerLength { length: 50 })),
3104+ array: false,
30983105 format: None,
30993106 },
31003107 expr_from_projection(only(&select.projection))
@@ -3107,6 +3114,7 @@ fn parse_cast() {
31073114 kind: CastKind::Cast,
31083115 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31093116 data_type: DataType::Blob(None),
3117+ array: false,
31103118 format: None,
31113119 },
31123120 expr_from_projection(only(&select.projection))
@@ -3119,6 +3127,7 @@ fn parse_cast() {
31193127 kind: CastKind::Cast,
31203128 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31213129 data_type: DataType::Blob(Some(50)),
3130+ array: false,
31223131 format: None,
31233132 },
31243133 expr_from_projection(only(&select.projection))
@@ -3131,6 +3140,7 @@ fn parse_cast() {
31313140 kind: CastKind::Cast,
31323141 expr: Box::new(Expr::Identifier(Ident::new("details"))),
31333142 data_type: DataType::JSONB,
3143+ array: false,
31343144 format: None,
31353145 },
31363146 expr_from_projection(only(&select.projection))
@@ -3146,6 +3156,7 @@ fn parse_try_cast() {
31463156 kind: CastKind::TryCast,
31473157 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31483158 data_type: DataType::BigInt(None),
3159+ array: false,
31493160 format: None,
31503161 },
31513162 expr_from_projection(only(&select.projection))
@@ -6446,6 +6457,7 @@ fn interval_disallow_interval_expr_double_colon() {
64466457 fractional_seconds_precision: None,
64476458 })),
64486459 data_type: DataType::Text,
6460+ array: false,
64496461 format: None,
64506462 }
64516463 )
@@ -9161,6 +9173,7 @@ fn parse_double_colon_cast_at_timezone() {
91619173 .with_empty_span()
91629174 )),
91639175 data_type: DataType::Timestamp(None, TimezoneInfo::None),
9176+ array: false,
91649177 format: None
91659178 }),
91669179 time_zone: Box::new(Expr::Value(
@@ -13293,6 +13306,7 @@ fn test_dictionary_syntax() {
1329313306 (Value::SingleQuotedString("2023-04-01".to_owned())).with_empty_span(),
1329413307 )),
1329513308 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13309+ array: false,
1329613310 format: None,
1329713311 }),
1329813312 },
@@ -13304,6 +13318,7 @@ fn test_dictionary_syntax() {
1330413318 (Value::SingleQuotedString("2023-04-05".to_owned())).with_empty_span(),
1330513319 )),
1330613320 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13321+ array: false,
1330713322 format: None,
1330813323 }),
1330913324 },
@@ -13547,6 +13562,7 @@ fn test_extract_seconds_ok() {
1354713562 fields: None,
1354813563 precision: None
1354913564 },
13565+ array: false,
1355013566 format: None,
1355113567 }),
1355213568 }
@@ -13575,6 +13591,7 @@ fn test_extract_seconds_ok() {
1357513591 fields: None,
1357613592 precision: None,
1357713593 },
13594+ array: false,
1357813595 format: None,
1357913596 }),
1358013597 })],
@@ -13632,6 +13649,7 @@ fn test_extract_seconds_single_quote_ok() {
1363213649 fields: None,
1363313650 precision: None
1363413651 },
13652+ array: false,
1363513653 format: None,
1363613654 }),
1363713655 }
0 commit comments