Support SETTINGS pairs for ClickHouse dialect (#1327)

Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
This commit is contained in:
hulk 2024-07-07 19:17:43 +08:00 committed by GitHub
parent 44d7a20f64
commit 700bd03d6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 111 additions and 5 deletions

View file

@ -1093,6 +1093,7 @@ fn parse_copy_to() {
fetch: None,
locks: vec![],
for_clause: None,
settings: None,
})),
to: true,
target: CopyTarget::File {
@ -2421,6 +2422,7 @@ fn parse_array_subquery_expr() {
fetch: None,
locks: vec![],
for_clause: None,
settings: None,
})),
filter: None,
null_treatment: None,
@ -3941,7 +3943,8 @@ fn test_simple_postgres_insert_with_alias() {
offset: None,
fetch: None,
locks: vec![],
for_clause: None
for_clause: None,
settings: None,
})),
partitioned: None,
after_columns: vec![],
@ -4008,7 +4011,8 @@ fn test_simple_postgres_insert_with_alias() {
offset: None,
fetch: None,
locks: vec![],
for_clause: None
for_clause: None,
settings: None,
})),
partitioned: None,
after_columns: vec![],
@ -4071,7 +4075,8 @@ fn test_simple_insert_with_quoted_alias() {
offset: None,
fetch: None,
locks: vec![],
for_clause: None
for_clause: None,
settings: None,
})),
partitioned: None,
after_columns: vec![],