@@ -3027,6 +3027,7 @@ fn parse_cast() {
30273027 kind: CastKind::Cast,
30283028 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30293029 data_type: DataType::BigInt(None),
3030+ array: false,
30303031 format: None,
30313032 },
30323033 expr_from_projection(only(&select.projection))
@@ -3039,6 +3040,7 @@ fn parse_cast() {
30393040 kind: CastKind::Cast,
30403041 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30413042 data_type: DataType::TinyInt(None),
3043+ array: false,
30423044 format: None,
30433045 },
30443046 expr_from_projection(only(&select.projection))
@@ -3070,6 +3072,7 @@ fn parse_cast() {
30703072 length: 50,
30713073 unit: None,
30723074 })),
3075+ array: false,
30733076 format: None,
30743077 },
30753078 expr_from_projection(only(&select.projection))
@@ -3082,6 +3085,7 @@ fn parse_cast() {
30823085 kind: CastKind::Cast,
30833086 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30843087 data_type: DataType::Clob(None),
3088+ array: false,
30853089 format: None,
30863090 },
30873091 expr_from_projection(only(&select.projection))
@@ -3094,6 +3098,7 @@ fn parse_cast() {
30943098 kind: CastKind::Cast,
30953099 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30963100 data_type: DataType::Clob(Some(50)),
3101+ array: false,
30973102 format: None,
30983103 },
30993104 expr_from_projection(only(&select.projection))
@@ -3106,6 +3111,7 @@ fn parse_cast() {
31063111 kind: CastKind::Cast,
31073112 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31083113 data_type: DataType::Binary(Some(50)),
3114+ array: false,
31093115 format: None,
31103116 },
31113117 expr_from_projection(only(&select.projection))
@@ -3118,6 +3124,7 @@ fn parse_cast() {
31183124 kind: CastKind::Cast,
31193125 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31203126 data_type: DataType::Varbinary(Some(BinaryLength::IntegerLength { length: 50 })),
3127+ array: false,
31213128 format: None,
31223129 },
31233130 expr_from_projection(only(&select.projection))
@@ -3130,6 +3137,7 @@ fn parse_cast() {
31303137 kind: CastKind::Cast,
31313138 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31323139 data_type: DataType::Blob(None),
3140+ array: false,
31333141 format: None,
31343142 },
31353143 expr_from_projection(only(&select.projection))
@@ -3142,6 +3150,7 @@ fn parse_cast() {
31423150 kind: CastKind::Cast,
31433151 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31443152 data_type: DataType::Blob(Some(50)),
3153+ array: false,
31453154 format: None,
31463155 },
31473156 expr_from_projection(only(&select.projection))
@@ -3154,6 +3163,7 @@ fn parse_cast() {
31543163 kind: CastKind::Cast,
31553164 expr: Box::new(Expr::Identifier(Ident::new("details"))),
31563165 data_type: DataType::JSONB,
3166+ array: false,
31573167 format: None,
31583168 },
31593169 expr_from_projection(only(&select.projection))
@@ -3169,6 +3179,7 @@ fn parse_try_cast() {
31693179 kind: CastKind::TryCast,
31703180 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31713181 data_type: DataType::BigInt(None),
3182+ array: false,
31723183 format: None,
31733184 },
31743185 expr_from_projection(only(&select.projection))
@@ -6505,6 +6516,7 @@ fn interval_disallow_interval_expr_double_colon() {
65056516 fractional_seconds_precision: None,
65066517 })),
65076518 data_type: DataType::Text,
6519+ array: false,
65086520 format: None,
65096521 }
65106522 )
@@ -9220,6 +9232,7 @@ fn parse_double_colon_cast_at_timezone() {
92209232 .with_empty_span()
92219233 )),
92229234 data_type: DataType::Timestamp(None, TimezoneInfo::None),
9235+ array: false,
92239236 format: None
92249237 }),
92259238 time_zone: Box::new(Expr::Value(
@@ -13352,6 +13365,7 @@ fn test_dictionary_syntax() {
1335213365 (Value::SingleQuotedString("2023-04-01".to_owned())).with_empty_span(),
1335313366 )),
1335413367 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13368+ array: false,
1335513369 format: None,
1335613370 }),
1335713371 },
@@ -13363,6 +13377,7 @@ fn test_dictionary_syntax() {
1336313377 (Value::SingleQuotedString("2023-04-05".to_owned())).with_empty_span(),
1336413378 )),
1336513379 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13380+ array: false,
1336613381 format: None,
1336713382 }),
1336813383 },
@@ -13606,6 +13621,7 @@ fn test_extract_seconds_ok() {
1360613621 fields: None,
1360713622 precision: None
1360813623 },
13624+ array: false,
1360913625 format: None,
1361013626 }),
1361113627 }
@@ -13634,6 +13650,7 @@ fn test_extract_seconds_ok() {
1363413650 fields: None,
1363513651 precision: None,
1363613652 },
13653+ array: false,
1363713654 format: None,
1363813655 }),
1363913656 })],
@@ -13691,6 +13708,7 @@ fn test_extract_seconds_single_quote_ok() {
1369113708 fields: None,
1369213709 precision: None
1369313710 },
13711+ array: false,
1369413712 format: None,
1369513713 }),
1369613714 }
0 commit comments