[Bug] Ensure column name is backticked during alter #468
Labels
feature:quoting
Issues related to dbt's quoting behavior
pkg:dbt-spark
Issue affects dbt-spark
type:bug
Something isn't working as documented
Is this a new bug in dbt-spark?
Current Behavior
When you define a model like the following and execute dbt run, new columns will be added if there are schema changes.
At this time, if the column name contains a hyphen, it will fail with the following error:
Expected Behavior
When executing alter table statement, column name is backticked.
Steps To Reproduce
dbt-run
and add new columnRelevant log output
Environment
Additional Context
NA
The text was updated successfully, but these errors were encountered: