Skip to content

Conversation

@alangner
Copy link
Contributor

@alangner alangner commented Jul 4, 2025

I noticed the following issue in BigQuery, when using models where a column has "quote: true" defined.
In that case the data_tests defined for that column were not matched to that node.
Consequently the test has_uniqueness_test failed.

When looking into the dbt manifest I saw that in the test node at test_metadata.kwargs.column_name the name contained the quotes (with grave accent `), e.g.

"column_name": "`my_column`"

However at the model node it is always without the quotes, e.g.

"columns": {
  "my_column": {
    "name": "my_column"

Copy link
Contributor

@matthieucan matthieucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alangner,
Thank you so much for contributing and fixing this bug!
Could you also add an entry in the changelog file?

@matthieucan matthieucan merged commit 4555847 into PicnicSupermarket:master Jul 7, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants