Add support for Snowflake account privileges (#1666)

This commit is contained in:
Yoav Cohen 2025-01-20 20:20:41 +01:00 committed by GitHub
parent e5bc3dfad8
commit 183274e274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 651 additions and 71 deletions

View file

@ -8500,8 +8500,8 @@ fn parse_grant() {
Action::References { columns: None },
Action::Trigger,
Action::Connect,
Action::Create,
Action::Execute,
Action::Create { obj_type: None },
Action::Execute { obj_type: None },
Action::Temporary,
],
actions
@ -8616,6 +8616,7 @@ fn parse_grant() {
verified_stmt("GRANT SELECT ON ALL TABLES IN SCHEMA db1.sc1 TO SHARE share1");
verified_stmt("GRANT USAGE ON SCHEMA sc1 TO a:b");
verified_stmt("GRANT USAGE ON SCHEMA sc1 TO GROUP group1");
verified_stmt("GRANT OWNERSHIP ON ALL TABLES IN SCHEMA DEV_STAS_ROGOZHIN TO ROLE ANALYST");
}
#[test]