mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-12 11:14:59 +00:00
clickhouse: add support for LIMIT BY (#977)
This commit is contained in:
parent
993769ec02
commit
2786c7eaf1
7 changed files with 56 additions and 1 deletions
|
@ -562,6 +562,7 @@ fn parse_escaped_quote_identifiers_with_escape() {
|
|||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -604,6 +605,7 @@ fn parse_escaped_quote_identifiers_with_no_escape() {
|
|||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -643,6 +645,7 @@ fn parse_escaped_backticks_with_escape() {
|
|||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -682,6 +685,7 @@ fn parse_escaped_backticks_with_no_escape() {
|
|||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -956,6 +960,7 @@ fn parse_simple_insert() {
|
|||
})),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -991,6 +996,7 @@ fn parse_empty_row_insert() {
|
|||
})),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -1049,6 +1055,7 @@ fn parse_insert_with_on_duplicate_update() {
|
|||
})),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -1428,6 +1435,7 @@ fn parse_substring_in_select() {
|
|||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
@ -1708,6 +1716,7 @@ fn parse_hex_string_introducer() {
|
|||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
limit_by: vec![],
|
||||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue