Add support of parsing ON CLUSTER in ALTER TABLE for ClickHouse (#1342)

This commit is contained in:
hulk 2024-07-31 04:31:42 +08:00 committed by GitHub
parent f96658006f
commit cc13841a37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 67 additions and 21 deletions

View file

@ -677,6 +677,7 @@ fn parse_alter_table_add_columns() {
only,
operations,
location: _,
on_cluster: _,
} => {
assert_eq!(name.to_string(), "tab");
assert!(if_exists);
@ -759,6 +760,7 @@ fn parse_alter_table_owner_to() {
only: _,
operations,
location: _,
on_cluster: _,
} => {
assert_eq!(name.to_string(), "tab");
assert_eq!(