Closed mikealfare closed 4 months ago
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide.
@mikealfare When might one expect these change in a release? Or is there a way to test these changes on our system before a release?
I will ask my question to a larger audience: @colin-rogers-dbt @McKnight-42 @jtcohen6 When might one expect these change in a release? Or is there a way to test these changes on our system before a release?
resolves #1033
Problem
We use
{{ relation }}
to render the relation name in metadata queries. However, we implemented the--empty
flag to addlimit 0
when{{ relation }}
is used. We wind up with queries like:which is not valid sql.
Solution
{{ relation.render() }}
in these scenarios (there are many)--empty
flagImplementation
dbt-tests-adapter
dbt-tests-adapter
testsChecklist