You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# First time below was updated fine without the DC column, with DC column added we get an error.resourcesnowflake_viewview_test {
database="MY_DB"schema="MY_SCHEMA"name="MY_VIEW"comment=""statement=<<-SQL SELECT PART ,DC ,FORECAST_CUSTOMER ,STOCK_BALANCE ,ORDER_QUE_BALANCE_CLASS_1 ,ORDER_QUE_BALANCE_CLASS_2_TO_4 ,STOCK_TAKING_BALANCE ,QUANTITY_ORDERED_NOT_INVOICED ,QUANTITY_BACK_ORDER_CL_2_TO_4 ,QUANTITY_BACK_ORDER_CL_1 ,SUPPLIER_NUMBER FROM PROD_PSL_DB.PULS.LDCSQLis_secure=true
}
Category
category:resource
Object type(s)
resource:view
Expected Behavior
The view to be re-created with DC column added
Actual Behavior
terraform ran below SQL, but missed adding the DC column in the first part...
Terraform CLI Version
1.8.5
Terraform Provider Version
0.96.0
Terraform Configuration
Category
category:resource
Object type(s)
resource:view
Expected Behavior
The view to be re-created with DC column added
Actual Behavior
terraform ran below SQL, but missed adding the DC column in the first part...
SQL compilation error: Invalid column definition list
Steps to Reproduce
Update with this
then with this
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
Only way to fix is to first comment out the tables and run terraform to destroy, then to un-comment and run terraform to re-create.
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: