@@ -3028,6 +3028,7 @@ fn parse_cast() {
30283028 kind: CastKind::Cast,
30293029 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30303030 data_type: DataType::BigInt(None),
3031+ array: false,
30313032 format: None,
30323033 },
30333034 expr_from_projection(only(&select.projection))
@@ -3040,6 +3041,7 @@ fn parse_cast() {
30403041 kind: CastKind::Cast,
30413042 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30423043 data_type: DataType::TinyInt(None),
3044+ array: false,
30433045 format: None,
30443046 },
30453047 expr_from_projection(only(&select.projection))
@@ -3071,6 +3073,7 @@ fn parse_cast() {
30713073 length: 50,
30723074 unit: None,
30733075 })),
3076+ array: false,
30743077 format: None,
30753078 },
30763079 expr_from_projection(only(&select.projection))
@@ -3083,6 +3086,7 @@ fn parse_cast() {
30833086 kind: CastKind::Cast,
30843087 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30853088 data_type: DataType::Clob(None),
3089+ array: false,
30863090 format: None,
30873091 },
30883092 expr_from_projection(only(&select.projection))
@@ -3095,6 +3099,7 @@ fn parse_cast() {
30953099 kind: CastKind::Cast,
30963100 expr: Box::new(Expr::Identifier(Ident::new("id"))),
30973101 data_type: DataType::Clob(Some(50)),
3102+ array: false,
30983103 format: None,
30993104 },
31003105 expr_from_projection(only(&select.projection))
@@ -3107,6 +3112,7 @@ fn parse_cast() {
31073112 kind: CastKind::Cast,
31083113 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31093114 data_type: DataType::Binary(Some(50)),
3115+ array: false,
31103116 format: None,
31113117 },
31123118 expr_from_projection(only(&select.projection))
@@ -3119,6 +3125,7 @@ fn parse_cast() {
31193125 kind: CastKind::Cast,
31203126 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31213127 data_type: DataType::Varbinary(Some(BinaryLength::IntegerLength { length: 50 })),
3128+ array: false,
31223129 format: None,
31233130 },
31243131 expr_from_projection(only(&select.projection))
@@ -3131,6 +3138,7 @@ fn parse_cast() {
31313138 kind: CastKind::Cast,
31323139 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31333140 data_type: DataType::Blob(None),
3141+ array: false,
31343142 format: None,
31353143 },
31363144 expr_from_projection(only(&select.projection))
@@ -3143,6 +3151,7 @@ fn parse_cast() {
31433151 kind: CastKind::Cast,
31443152 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31453153 data_type: DataType::Blob(Some(50)),
3154+ array: false,
31463155 format: None,
31473156 },
31483157 expr_from_projection(only(&select.projection))
@@ -3155,6 +3164,7 @@ fn parse_cast() {
31553164 kind: CastKind::Cast,
31563165 expr: Box::new(Expr::Identifier(Ident::new("details"))),
31573166 data_type: DataType::JSONB,
3167+ array: false,
31583168 format: None,
31593169 },
31603170 expr_from_projection(only(&select.projection))
@@ -3170,6 +3180,7 @@ fn parse_try_cast() {
31703180 kind: CastKind::TryCast,
31713181 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31723182 data_type: DataType::BigInt(None),
3183+ array: false,
31733184 format: None,
31743185 },
31753186 expr_from_projection(only(&select.projection))
@@ -6506,6 +6517,7 @@ fn interval_disallow_interval_expr_double_colon() {
65066517 fractional_seconds_precision: None,
65076518 })),
65086519 data_type: DataType::Text,
6520+ array: false,
65096521 format: None,
65106522 }
65116523 )
@@ -9221,6 +9233,7 @@ fn parse_double_colon_cast_at_timezone() {
92219233 .with_empty_span()
92229234 )),
92239235 data_type: DataType::Timestamp(None, TimezoneInfo::None),
9236+ array: false,
92249237 format: None
92259238 }),
92269239 time_zone: Box::new(Expr::Value(
@@ -13355,6 +13368,7 @@ fn test_dictionary_syntax() {
1335513368 (Value::SingleQuotedString("2023-04-01".to_owned())).with_empty_span(),
1335613369 )),
1335713370 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13371+ array: false,
1335813372 format: None,
1335913373 }),
1336013374 },
@@ -13366,6 +13380,7 @@ fn test_dictionary_syntax() {
1336613380 (Value::SingleQuotedString("2023-04-05".to_owned())).with_empty_span(),
1336713381 )),
1336813382 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13383+ array: false,
1336913384 format: None,
1337013385 }),
1337113386 },
@@ -13609,6 +13624,7 @@ fn test_extract_seconds_ok() {
1360913624 fields: None,
1361013625 precision: None
1361113626 },
13627+ array: false,
1361213628 format: None,
1361313629 }),
1361413630 }
@@ -13637,6 +13653,7 @@ fn test_extract_seconds_ok() {
1363713653 fields: None,
1363813654 precision: None,
1363913655 },
13656+ array: false,
1364013657 format: None,
1364113658 }),
1364213659 })],
@@ -13694,6 +13711,7 @@ fn test_extract_seconds_single_quote_ok() {
1369413711 fields: None,
1369513712 precision: None
1369613713 },
13714+ array: false,
1369713715 format: None,
1369813716 }),
1369913717 }
0 commit comments