Skip to content

Conversation

@benfdking
Copy link
Collaborator

  • feat(snowflake): resource monitor statements
  • feat(snowflake): alter procedure snowflake
  • feat(snowflake): alter account statement
  • feat(snowflake): implement the alter database
  • feat(snowflake): improve create table defaults
  • feat(snowflake): alter masking policy
  • feat(snowflake): alter network policy
  • feat(snowflake): grant revoke change

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines +7913 to +7917
Ref::keyword("NOTIFY_USERS"),
Ref::new("EqualsSegment"),
Bracketed::new(vec_of_erased![Delimited::new(vec_of_erased![Ref::new(
"SingleIdentifierGrammar"
),])]),

Choose a reason for hiding this comment

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

[P1] Allow string literals in NOTIFY_USERS option

The ResourceMonitorOptionsSegment models NOTIFY_USERS as Bracketed(Delimited(SingleIdentifierGrammar)). This only accepts unquoted identifiers, but the documented syntax for resource monitors requires string literals for each user, e.g. NOTIFY_USERS=('john.doe','ops_team'). With the current grammar, any valid statement that quotes the names (or uses email‑style identifiers) fails to parse even though Snowflake accepts it. Consider permitting QuotedLiteralSegment (and possibly identifiers) in the delimited list so both quoted and unquoted user names are handled.

Useful? React with 👍 / 👎.

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