[Bug] dbt unit testing does not supported quoted columns #10748
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
quoting
Issues related to dbt's quoting behavior
unit tests
Issues related to built-in dbt unit testing functionality
Is this a new bug in dbt-core?
Current Behavior
While running my dbt unit tests for one of my models, it fails to compile. I am running this test on a table that has quoted columns (Bad practice I know). As shown in the output, it does not enforce quoted column names in my models.yml file, therefore trying to select non quoted columns that have spaces and special characters.
I have searched the documentation for any properties relating to quotes but could not find any here:
https://docs.getdbt.com/reference/resource-properties/unit-tests
Here is my unit test:
Here is the models.yml file:
Expected Behavior
The test should pass however it won't even compile correctly
Steps To Reproduce
Relevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: