Skip to content

Commit 8579174

Browse files
committed
fix iceberg tests
1 parent f95ee86 commit 8579174

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

tests/sqlparser_mysql.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2507,9 +2507,9 @@ fn parse_alter_table_add_column() {
25072507
if_exists,
25082508
only,
25092509
operations,
2510+
iceberg,
25102511
location: _,
25112512
on_cluster: _,
2512-
iceberg,
25132513
} => {
25142514
assert_eq!(name.to_string(), "tab");
25152515
assert!(!if_exists);
@@ -2538,9 +2538,7 @@ fn parse_alter_table_add_column() {
25382538
if_exists,
25392539
only,
25402540
operations,
2541-
location: _,
2542-
on_cluster: _,
2543-
iceberg: _,
2541+
..
25442542
} => {
25452543
assert_eq!(name.to_string(), "tab");
25462544
assert!(!if_exists);
@@ -2577,9 +2575,7 @@ fn parse_alter_table_add_columns() {
25772575
if_exists,
25782576
only,
25792577
operations,
2580-
location: _,
2581-
on_cluster: _,
2582-
iceberg: _,
2578+
..
25832579
} => {
25842580
assert_eq!(name.to_string(), "tab");
25852581
assert!(!if_exists);

tests/sqlparser_postgres.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,7 @@ fn parse_alter_table_add_columns() {
834834
if_exists,
835835
only,
836836
operations,
837-
location: _,
838-
on_cluster: _,
839-
iceberg: _,
837+
..
840838
} => {
841839
assert_eq!(name.to_string(), "tab");
842840
assert!(if_exists);
@@ -916,9 +914,7 @@ fn parse_alter_table_owner_to() {
916914
if_exists: _,
917915
only: _,
918916
operations,
919-
location: _,
920-
on_cluster: _,
921-
iceberg: _,
917+
..
922918
} => {
923919
assert_eq!(name.to_string(), "tab");
924920
assert_eq!(

0 commit comments

Comments
 (0)