Add ENABLE_SCHEMA_EVOLUTION
flag for snowflake_table
resource.
#2676
Labels
category:resource
feature-request
Used to mark issues with provider's missing functionalities
resource:table
Issue connected to the snowflake_table resource
Terraform CLI and Provider Versions
Terraform: 1.7.4
Provider: 0.87.2
Use Cases or Problem Statement
Our company maintains snowpipes and their target tables via the snowflake terraform provider. Some of these pipelines including evolving schemas, and we'd like to use Snowflake's built in schema evolution features to handle this.
This means we often have to create the tables via terraform and then subsequently run an
ALTER TABLE
statement in Snowflake in order to enable schema evolution, or skip using terraform for those tables entirely.Proposal
The provider should support setting the property
enable_schema_evolution
during table creation.The table should be initialized by terraform with the initial column configuration provided and with the
enable_schema_evolution
flag set.This flag being set should also set the lifecycle rule to ignore changes to nested
column
attributes, as these may be added or modified externally by Snowflake schema evolution. This last step could be done either implicitly or explicitly.How much impact is this issue causing?
Medium
Additional Information
No response
The text was updated successfully, but these errors were encountered: