mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-10 05:52:13 +00:00
Add support for GRANT DROP
statement (#1959)
Some checks failed
license / Release Audit Tool (RAT) (push) Has been cancelled
Rust / codestyle (push) Has been cancelled
Rust / lint (push) Has been cancelled
Rust / benchmark-lint (push) Has been cancelled
Rust / compile (push) Has been cancelled
Rust / docs (push) Has been cancelled
Rust / compile-no-std (push) Has been cancelled
Rust / test (beta) (push) Has been cancelled
Rust / test (nightly) (push) Has been cancelled
Rust / test (stable) (push) Has been cancelled
Some checks failed
license / Release Audit Tool (RAT) (push) Has been cancelled
Rust / codestyle (push) Has been cancelled
Rust / lint (push) Has been cancelled
Rust / benchmark-lint (push) Has been cancelled
Rust / compile (push) Has been cancelled
Rust / docs (push) Has been cancelled
Rust / compile-no-std (push) Has been cancelled
Rust / test (beta) (push) Has been cancelled
Rust / test (nightly) (push) Has been cancelled
Rust / test (stable) (push) Has been cancelled
This commit is contained in:
parent
799c1f748d
commit
492184643a
3 changed files with 6 additions and 1 deletions
|
@ -6611,6 +6611,7 @@ pub enum Action {
|
|||
role: ObjectName,
|
||||
},
|
||||
Delete,
|
||||
Drop,
|
||||
EvolveSchema,
|
||||
Exec {
|
||||
obj_type: Option<ActionExecuteObjectType>,
|
||||
|
@ -6680,6 +6681,7 @@ impl fmt::Display for Action {
|
|||
}
|
||||
Action::DatabaseRole { role } => write!(f, "DATABASE ROLE {role}")?,
|
||||
Action::Delete => f.write_str("DELETE")?,
|
||||
Action::Drop => f.write_str("DROP")?,
|
||||
Action::EvolveSchema => f.write_str("EVOLVE SCHEMA")?,
|
||||
Action::Exec { obj_type } => {
|
||||
f.write_str("EXEC")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue