We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using dbt_utils.get_column_values and the target system treats values as a reserved word an error is returned.
Target = Dremio Cloud
Create Model using dbt_utils.get_column_values
Deploy model
Runtime error is returned
Model should deploy without error.
Runtime error in model is returned.
The contents of your packages.yml file: Unable to specify
packages.yml
Which database are you using dbt with?
The output of dbt --version:
dbt --version
1.7
To resolve issue, modify line 37 in dbt-utils/macros/sql/get_column_values.sql
Current: {{ column }} as value
Change to: {{ column }} as "value"
Happy to create a PR for this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When using dbt_utils.get_column_values and the target system treats values as a reserved word an error is returned.
Steps to reproduce
Target = Dremio Cloud
Create Model using dbt_utils.get_column_values
Deploy model
Runtime error is returned
Expected results
Model should deploy without error.
Actual results
Runtime error in model is returned.
Screenshots and log output
System information
The contents of your
packages.yml
file:Unable to specify
Which database are you using dbt with?
The output of
dbt --version
:Additional context
To resolve issue, modify line 37 in dbt-utils/macros/sql/get_column_values.sql
Current:
{{ column }} as value
Change to:
{{ column }} as "value"
Are you interested in contributing the fix?
Happy to create a PR for this.
The text was updated successfully, but these errors were encountered: