mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-07 12:40:22 +00:00
Snowflake: Improve support for reserved keywords for table factor (#1942)
Some checks are pending
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / codestyle (push) Waiting to run
Rust / lint (push) Waiting to run
Rust / benchmark-lint (push) Waiting to run
Rust / compile (push) Waiting to run
Rust / docs (push) Waiting to run
Rust / compile-no-std (push) Waiting to run
Rust / test (beta) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
Rust / test (stable) (push) Waiting to run
Some checks are pending
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / codestyle (push) Waiting to run
Rust / lint (push) Waiting to run
Rust / benchmark-lint (push) Waiting to run
Rust / compile (push) Waiting to run
Rust / docs (push) Waiting to run
Rust / compile-no-std (push) Waiting to run
Rust / test (beta) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
Rust / test (stable) (push) Waiting to run
This commit is contained in:
parent
85fa881379
commit
3d2db8c69b
4 changed files with 103 additions and 12 deletions
|
@ -4449,11 +4449,7 @@ impl<'a> Parser<'a> {
|
|||
self.parse_comma_separated_with_trailing_commas(
|
||||
Parser::parse_table_and_joins,
|
||||
trailing_commas,
|
||||
|kw, _parser| {
|
||||
self.dialect
|
||||
.get_reserved_keywords_for_table_factor()
|
||||
.contains(kw)
|
||||
},
|
||||
|kw, parser| !self.dialect.is_table_factor(kw, parser),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue