Skip to content

Add support of COMMENT ON syntax for Snowflake #1516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

git-hulk
Copy link
Member

The COMMENT ON syntax has been supported in PostgreSQL. This PR only moves it into the common and adds supports_comment_on to enable this feature. Also, this PR extends SCHEMA, DATABASE, USER, ROLE as its allowed object type.

This closes #1511.

@git-hulk git-hulk force-pushed the feature/comment-on-for-snowflake branch from e079d08 to ee32ab2 Compare November 11, 2024 14:58
@git-hulk
Copy link
Member Author

cc @iffyio

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice @git-hulk -- thank you

cc @iffyio and @lovasoa

@alamb
Copy link
Contributor

alamb commented Nov 13, 2024

It looks like there are some conflicts in this PR that need to be resolved before we can merge it

@git-hulk
Copy link
Member Author

git-hulk commented Nov 13, 2024

@alamb thanks for your review, will resolve it soon done now.

@git-hulk git-hulk force-pushed the feature/comment-on-for-snowflake branch from ee32ab2 to 9f4a772 Compare November 13, 2024 06:50
The COMMENT ON syntax has been supported in PostgreSQL. This PR only
moves it into the common and adds `supports_comment_on` to enable this
feature. Also, this PR extends `SCHEMA`, `DATABASE`, `USER`, `ROLE` as
its allowed object type.

This closes apache#1511.
@git-hulk git-hulk force-pushed the feature/comment-on-for-snowflake branch from 9f4a772 to 63a7a6f Compare November 13, 2024 12:27
@alamb alamb merged commit 6d907d3 into apache:main Nov 13, 2024
8 checks passed
@alamb
Copy link
Contributor

alamb commented Nov 13, 2024

🚀

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.

Snowflake COMMENT ON support
2 participants