You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix column test matching when using quotes in BigQuery (#122)
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"
```
---------
Co-authored-by: Matthieu Caneill <[email protected]>
0 commit comments