@@ -3146,7 +3146,6 @@ fn parse_cast() {
31463146 kind: CastKind::Cast,
31473147 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31483148 data_type: DataType::BigInt(None),
3149- array: false,
31503149 format: None,
31513150 },
31523151 expr_from_projection(only(&select.projection))
@@ -3159,7 +3158,6 @@ fn parse_cast() {
31593158 kind: CastKind::Cast,
31603159 expr: Box::new(Expr::Identifier(Ident::new("id"))),
31613160 data_type: DataType::TinyInt(None),
3162- array: false,
31633161 format: None,
31643162 },
31653163 expr_from_projection(only(&select.projection))
@@ -3191,7 +3189,6 @@ fn parse_cast() {
31913189 length: 50,
31923190 unit: None,
31933191 })),
3194- array: false,
31953192 format: None,
31963193 },
31973194 expr_from_projection(only(&select.projection))
@@ -3204,7 +3201,6 @@ fn parse_cast() {
32043201 kind: CastKind::Cast,
32053202 expr: Box::new(Expr::Identifier(Ident::new("id"))),
32063203 data_type: DataType::Clob(None),
3207- array: false,
32083204 format: None,
32093205 },
32103206 expr_from_projection(only(&select.projection))
@@ -3217,7 +3213,6 @@ fn parse_cast() {
32173213 kind: CastKind::Cast,
32183214 expr: Box::new(Expr::Identifier(Ident::new("id"))),
32193215 data_type: DataType::Clob(Some(50)),
3220- array: false,
32213216 format: None,
32223217 },
32233218 expr_from_projection(only(&select.projection))
@@ -3230,7 +3225,6 @@ fn parse_cast() {
32303225 kind: CastKind::Cast,
32313226 expr: Box::new(Expr::Identifier(Ident::new("id"))),
32323227 data_type: DataType::Binary(Some(50)),
3233- array: false,
32343228 format: None,
32353229 },
32363230 expr_from_projection(only(&select.projection))
@@ -3243,7 +3237,6 @@ fn parse_cast() {
32433237 kind: CastKind::Cast,
32443238 expr: Box::new(Expr::Identifier(Ident::new("id"))),
32453239 data_type: DataType::Varbinary(Some(BinaryLength::IntegerLength { length: 50 })),
3246- array: false,
32473240 format: None,
32483241 },
32493242 expr_from_projection(only(&select.projection))
@@ -3256,7 +3249,6 @@ fn parse_cast() {
32563249 kind: CastKind::Cast,
32573250 expr: Box::new(Expr::Identifier(Ident::new("id"))),
32583251 data_type: DataType::Blob(None),
3259- array: false,
32603252 format: None,
32613253 },
32623254 expr_from_projection(only(&select.projection))
@@ -3269,7 +3261,6 @@ fn parse_cast() {
32693261 kind: CastKind::Cast,
32703262 expr: Box::new(Expr::Identifier(Ident::new("id"))),
32713263 data_type: DataType::Blob(Some(50)),
3272- array: false,
32733264 format: None,
32743265 },
32753266 expr_from_projection(only(&select.projection))
@@ -3282,7 +3273,6 @@ fn parse_cast() {
32823273 kind: CastKind::Cast,
32833274 expr: Box::new(Expr::Identifier(Ident::new("details"))),
32843275 data_type: DataType::JSONB,
3285- array: false,
32863276 format: None,
32873277 },
32883278 expr_from_projection(only(&select.projection))
@@ -3298,7 +3288,6 @@ fn parse_try_cast() {
32983288 kind: CastKind::TryCast,
32993289 expr: Box::new(Expr::Identifier(Ident::new("id"))),
33003290 data_type: DataType::BigInt(None),
3301- array: false,
33023291 format: None,
33033292 },
33043293 expr_from_projection(only(&select.projection))
@@ -6641,7 +6630,6 @@ fn interval_disallow_interval_expr_double_colon() {
66416630 fractional_seconds_precision: None,
66426631 })),
66436632 data_type: DataType::Text,
6644- array: false,
66456633 format: None,
66466634 }
66476635 )
@@ -6659,7 +6647,6 @@ fn parse_text_type_modifier_double_colon_cast() {
66596647 ObjectName::from(vec![Ident::new("TEXT")]),
66606648 vec!["16777216".to_string()]
66616649 ),
6662- array: false,
66636650 format: None,
66646651 }
66656652 );
@@ -9412,7 +9399,6 @@ fn parse_double_colon_cast_at_timezone() {
94129399 .with_empty_span()
94139400 )),
94149401 data_type: DataType::Timestamp(None, TimezoneInfo::None),
9415- array: false,
94169402 format: None
94179403 }),
94189404 time_zone: Box::new(Expr::Value(
@@ -13812,7 +13798,6 @@ fn test_dictionary_syntax() {
1381213798 (Value::SingleQuotedString("2023-04-01".to_owned())).with_empty_span(),
1381313799 )),
1381413800 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13815- array: false,
1381613801 format: None,
1381713802 }),
1381813803 },
@@ -13824,7 +13809,6 @@ fn test_dictionary_syntax() {
1382413809 (Value::SingleQuotedString("2023-04-05".to_owned())).with_empty_span(),
1382513810 )),
1382613811 data_type: DataType::Timestamp(None, TimezoneInfo::None),
13827- array: false,
1382813812 format: None,
1382913813 }),
1383013814 },
@@ -14121,7 +14105,6 @@ fn test_extract_seconds_ok() {
1412114105 fields: None,
1412214106 precision: None
1412314107 },
14124- array: false,
1412514108 format: None,
1412614109 }),
1412714110 }
@@ -14152,7 +14135,6 @@ fn test_extract_seconds_ok() {
1415214135 fields: None,
1415314136 precision: None,
1415414137 },
14155- array: false,
1415614138 format: None,
1415714139 }),
1415814140 })],
@@ -14210,7 +14192,6 @@ fn test_extract_seconds_single_quote_ok() {
1421014192 fields: None,
1421114193 precision: None
1421214194 },
14213- array: false,
1421414195 format: None,
1421514196 }),
1421614197 }
0 commit comments