mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-07 12:40:22 +00:00
Snowflake: Support IDENTIFIER for GRANT ROLE (#1957)
Some checks are pending
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / test (stable) (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
Some checks are pending
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / test (stable) (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
This commit is contained in:
parent
f49c30feb6
commit
7558d35c84
4 changed files with 7 additions and 2 deletions
|
@ -14357,7 +14357,7 @@ impl<'a> Parser<'a> {
|
|||
} else if self.parse_keyword(Keyword::REPLICATE) {
|
||||
Ok(Action::Replicate)
|
||||
} else if self.parse_keyword(Keyword::ROLE) {
|
||||
let role = self.parse_identifier()?;
|
||||
let role = self.parse_object_name(false)?;
|
||||
Ok(Action::Role { role })
|
||||
} else if self.parse_keyword(Keyword::SELECT) {
|
||||
Ok(Action::Select {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue