-
Notifications
You must be signed in to change notification settings - Fork 511
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
Enable quoting column names for unpivot
macro
#216
Comments
## Context Related to [issue-216](dbt-labs#216)
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
PR #792 provides a fix for this issue |
unpivot
macro doesn't quote column name
Since this is to |
unpivot
macro doesn't quote column nameunpivot
macro
…ve column names (#792) * feat(unpivot): add quote identifier parameter to unpivot macro fixes #216 * Changelog will be updated as part of release process * Enable test for unpivoting quoted columns for Redshift * Fix warning related to `tests:` -> `data_tests:` * Simplify the case-sensitive unpivot test model * Add a newline for consistency * Use mixed-case column names for all columns --------- Co-authored-by: Doug Beatty <[email protected]>
I have a table whose column names are quoted, like "BX 759 - long column name".
When I try to unpivot this table, the column names fetched don't contain quotes and the macro doesn't put the quotes in them, thus the macro fails.
The text was updated successfully, but these errors were encountered: