Skip to content

Snowflake: ALL/FUTURE … IN DATABASE grant targets, STAGE/FILE FORMAT objects, WRITE + CREATE TABLE privileges#12

Merged
sabir-akhadov-localstack merged 1 commit into
lav-669-copy-file-format-shorthandfrom
lav-682-grant-rebased
Jun 25, 2026
Merged

Snowflake: ALL/FUTURE … IN DATABASE grant targets, STAGE/FILE FORMAT objects, WRITE + CREATE TABLE privileges#12
sabir-akhadov-localstack merged 1 commit into
lav-669-copy-file-format-shorthandfrom
lav-682-grant-rebased

Conversation

@sabir-akhadov-localstack

Copy link
Copy Markdown
Collaborator

Parser support for the bulk / future / ownership GRANT shapes that snowflake-rs LAV-682-2 consumes.

What this adds

  • GrantObjects variants for ALL / FUTURE … IN SCHEMA / IN DATABASE targets, plus STAGE and FILE FORMAT object kinds (AllTablesInDatabase, FutureTablesInDatabase, AllSchemasInDatabase, AllStagesInSchema, FutureStagesInSchema, AllFileFormatsInSchema, FutureFileFormatsInSchema, FutureFunctionsInSchema, Stages, FileFormats).
  • WRITE and CREATE TABLE privilege parsing.
  • Parser plumbing in src/parser/mod.rs for the above.

Base

Stacked on lav-669-copy-file-format-shorthand (rev 6d1428ea), the branch snowflake-rs main currently pins. This keeps the diff to the single grant commit; this branch's tip (5189c902) is what the snowflake-rs LAV-682-2 PR pins.

Context

This is the fork half of a previously-blocked merge: our grant-AST commit 3899529 was cherry-picked onto 6d1428ea so it unifies with the iceberg/RLIKE/SHOW features already on that line. On the snowflake-rs side, clippy --workspace -D warnings is clean and the 5 unxfailed grant compat tests pass against the emulator.

…ORMAT objects, WRITE + CREATE TABLE privileges
@sabir-akhadov-localstack sabir-akhadov-localstack merged commit 18e99b5 into lav-669-copy-file-format-shorthand Jun 25, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant