[Bug] Appending new columns to an existing incremental does not respect the quote
column property.
#1140
Closed
2 tasks done
Labels
bug
Something isn't working
Is this a new bug in dbt-snowflake?
Current Behavior
If we introduce a new column into an incremental that has a reserved keyword and we quote it - the append column DML still adds the columns without the explicit quote.
Expected Behavior
Append column DML should quote the name of the column.
Steps To Reproduce
Project setup:
Do an initial build
Add a new column to
bar
:Specify
quote: true
for the column in the model schema file:Do an incremental run:
^ We tried to add a column
group
without the quotes:Instead, we should have done a:
To check that the quote config actually works somewhat - do a full-refresh instead:
^ We see that the
group
column is quoted in the test which shows that this config does work in this case - testing - but not when appending new columns.Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: