Add ICEBERG keyword support to ALTER TABLE statement (#1869)

This commit is contained in:
Artem Osipov 2025-06-04 20:49:07 +03:00 committed by GitHub
parent 394a534486
commit 5327f0ce13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 64 additions and 38 deletions

View file

@ -2507,11 +2507,13 @@ fn parse_alter_table_add_column() {
if_exists,
only,
operations,
iceberg,
location: _,
on_cluster: _,
} => {
assert_eq!(name.to_string(), "tab");
assert!(!if_exists);
assert!(!iceberg);
assert!(!only);
assert_eq!(
operations,
@ -2536,8 +2538,7 @@ fn parse_alter_table_add_column() {
if_exists,
only,
operations,
location: _,
on_cluster: _,
..
} => {
assert_eq!(name.to_string(), "tab");
assert!(!if_exists);
@ -2574,8 +2575,7 @@ fn parse_alter_table_add_columns() {
if_exists,
only,
operations,
location: _,
on_cluster: _,
..
} => {
assert_eq!(name.to_string(), "tab");
assert!(!if_exists);