mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Add support of FORMAT clause for ClickHouse parser (#1335)
This commit is contained in:
parent
9f60eb1571
commit
07278952f9
9 changed files with 114 additions and 8 deletions
|
@ -1095,6 +1095,7 @@ fn parse_copy_to() {
|
|||
locks: vec![],
|
||||
for_clause: None,
|
||||
settings: None,
|
||||
format_clause: None,
|
||||
})),
|
||||
to: true,
|
||||
target: CopyTarget::File {
|
||||
|
@ -2426,6 +2427,7 @@ fn parse_array_subquery_expr() {
|
|||
locks: vec![],
|
||||
for_clause: None,
|
||||
settings: None,
|
||||
format_clause: None,
|
||||
})),
|
||||
filter: None,
|
||||
null_treatment: None,
|
||||
|
@ -4050,6 +4052,7 @@ fn test_simple_postgres_insert_with_alias() {
|
|||
locks: vec![],
|
||||
for_clause: None,
|
||||
settings: None,
|
||||
format_clause: None,
|
||||
})),
|
||||
partitioned: None,
|
||||
after_columns: vec![],
|
||||
|
@ -4118,6 +4121,7 @@ fn test_simple_postgres_insert_with_alias() {
|
|||
locks: vec![],
|
||||
for_clause: None,
|
||||
settings: None,
|
||||
format_clause: None,
|
||||
})),
|
||||
partitioned: None,
|
||||
after_columns: vec![],
|
||||
|
@ -4182,6 +4186,7 @@ fn test_simple_insert_with_quoted_alias() {
|
|||
locks: vec![],
|
||||
for_clause: None,
|
||||
settings: None,
|
||||
format_clause: None,
|
||||
})),
|
||||
partitioned: None,
|
||||
after_columns: vec![],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue