_is_relation
macro fails for relations from adapter.get_relation
on Bigquery.
#817
Closed
1 of 5 tasks
Describe the bug
If we define a relation from the
adapter.get_relation
macro, it causes a compiler error in the{{ dbt_utils._is_relation() }}
macro. This is in Bigquery. I've tried it in various versions of dbt-utils and dbtSteps to reproduce
Make a file with the following code
Compile this file.
Expected results
No errors, the file compiles with
True -- Returns True
Actual results
Compiler error
Screenshots and log output
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:dbt cloud:
Additional context
I originally discovered this as a bug in
audit_helper
, but isolated the issue to this macro in dbt_utils.Are you interested in contributing the fix?
In theory, yes - in reality I have no idea what's going on here and it's baffling me.
The text was updated successfully, but these errors were encountered: