Skip to content

Fix!: expand snowflake VIEW column comments and make comment default true#2369

Merged
treysp merged 2 commits intomainfrom
trey/snowflake-comments
Mar 30, 2024
Merged

Fix!: expand snowflake VIEW column comments and make comment default true#2369
treysp merged 2 commits intomainfrom
trey/snowflake-comments

Conversation

@treysp
Copy link
Copy Markdown
Contributor

@treysp treysp commented Mar 29, 2024

Snowflake's documentation does not describe or demonstrate a way to alter/add column comments to VIEWs after creation, but ALTER VIEW ... ALTER COLUMN ... command does this.

This PR:

  • Adds the ability for snowflake to alter/add column comments to VIEWs after creation.
  • Removes the CommentCreationView.IN_SCHEMA_DEF_NO_COLUMN_COMMAND enum value because it was only used by snowflake
  • Makes comment registration True by default for Snowflake

@treysp treysp requested a review from eakmanrq March 29, 2024 21:19
@treysp treysp changed the title Feat: add snowflake column comment command and make comment default true Feat: expand snowflake VIEW column comments and make comment default true Mar 29, 2024
@treysp treysp changed the title Feat: expand snowflake VIEW column comments and make comment default true Feat!: expand snowflake VIEW column comments and make comment default true Mar 29, 2024
@treysp treysp changed the title Feat!: expand snowflake VIEW column comments and make comment default true Fix!: expand snowflake VIEW column comments and make comment default true Mar 29, 2024
@treysp treysp force-pushed the trey/snowflake-comments branch from ae2eb4e to 9919dc3 Compare March 30, 2024 19:26
@treysp treysp merged commit 7650f44 into main Mar 30, 2024
@treysp treysp deleted the trey/snowflake-comments branch March 30, 2024 19:47
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.

2 participants