-
Notifications
You must be signed in to change notification settings - Fork 427
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
Parsing error of cluster_by value containing an expression #2110
Comments
same issue here, it seems ClusterStatementToList just splits on ',' - with this issue the table object is not usable |
Same here it misinterprets all values with a space inside:
|
Related issue : #2495 |
Hey @buwi @meinczinger @WojtekWaga. We have released the fix as part of v0.87.0 release. Please follow the migration guide during the update. Please confirm that the issue is resolved in the newest version. Thanks! |
Closing as completed. |
Provider Version
0.72.0
Terraform Version
v1.5.2
Describe the bug
I am using Terragrunt to manage state in AWS S3. It appears, the Snowflake provider is parsing the cluster_by value in the wrong place when it contains an expression.
For a table definition:
The initial run of terraform created the table successfully, with the correct cluster_by definition.
CLUSTERING_KEY: LINEAR(date_trunc('HOUR', TIMESTAMP_HR), CLIENT_ID)
But the state file contained the cluster_by as follows:
On a subsequent run of Terraform, the cluster_by was identified as a change.
Expected behavior
The state file should store the cluster_by definition as follows.
Code samples and commands
Additional context
The text was updated successfully, but these errors were encountered: