Skip to content

Add support for cluster by expressions #13

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

Conversation

osipovartem
Copy link

Extended cluster by type to support expressions
https://docs.snowflake.com/en/user-guide/tables-clustering-keys#defining-a-clustering-key-for-a-table
Related to Embucket/embucket#1036

CLUSTER BY (a, b)
CLUSTER BY a, b

New

CLUSTER BY (to_date(start_tstamp), coalesce(foo, 'bar'))

Also fixed tests

Copy link

@DanCodedThis DanCodedThis left a comment

Choose a reason for hiding this comment

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

@osipovartem osipovartem merged commit ae675e8 into embucket-sync-df47.0.0-parser55.0.0 Jun 13, 2025
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