[Bug] Unit tests fail when input has a column name with a quoted identifier #205
Labels
bug
Something isn't working
community
This PR is from a community member
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
quoting
Issues related to dbt's quoting behavior
unit tests
Issues related to built-in dbt unit testing functionality
Is this a new bug?
Current Behavior
In BigQuery:
Supposing an input table with a reserved-word-named column like:
And a downstream table like:
And a unit test like:
If I try
dbt test --select test_type:unit
I get:
Syntax error: Unexpected keyword FROM
Expected Behavior
Expect tests to pass without errors.
Steps To Reproduce
from
)Relevant log output
No response
Environment
Additional Context
Original Issue opened in the dbt-core repo: dbt-labs/dbt-core#10112
The text was updated successfully, but these errors were encountered: