Skip to content

Conversation

yoavcloud
Copy link
Contributor

Aligned logic in the Dialect trait to other similar flows (is_column_alias, is_table_alias, etc) and added a list of reserved keywords in Snowflake.

Comment on lines 509 to 512
if matches!(
parser.peek_token().token,
Token::Number(_, _) | Token::Placeholder(_)
) =>
Copy link
Contributor

Choose a reason for hiding this comment

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

would it make sense to use the peek_for_limit_options helper method here?

@yoavcloud yoavcloud force-pushed the sf_reserved_kws_table_factor branch from 29fc9b9 to f7d6322 Compare July 31, 2025 08:11
@yoavcloud yoavcloud requested a review from iffyio July 31, 2025 08:11
Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @yoavcloud!
cc @alamb

@iffyio iffyio merged commit 3d2db8c into apache:main Jul 31, 2025
10 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.

2 participants