Skip to content

Add DYNAMIC_TABLE to SnowflakeObjectType enum#74

Open
naga-zoom wants to merge 1 commit into
zoom:mainfrom
naga-zoom:fix/dynamic-table-object-type
Open

Add DYNAMIC_TABLE to SnowflakeObjectType enum#74
naga-zoom wants to merge 1 commit into
zoom:mainfrom
naga-zoom:fix/dynamic-table-object-type

Conversation

@naga-zoom

@naga-zoom naga-zoom commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds DYNAMIC_TABLE(3, "TABLE") to the SnowflakeObjectType enum so that grants on Snowflake dynamic tables are correctly parsed from SHOW GRANTS output.
  • Without this, DYNAMIC_TABLE grants fail to convert and are silently dropped during revocation evaluation.
  • Includes unit test verifying the new object type is handled by SnowflakeGrantFactory.

Test plan

  • Unit tests pass (739 tests, 0 failures)
  • Integration tests against Snowflake account with dynamic table grants

Snowflake SHOW GRANTS can return DYNAMIC_TABLE as the granted_on type.
Without this enum entry, grants on dynamic tables fail to parse and are
silently dropped during revocation evaluation.

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
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