get_columns_in_relation
fails on the first run, when called on a model created in that run
#196
Labels
bug
Something isn't working
Describe the bug
Calling
get_columns_in_relation
on a model that was created in the same run leads to aexpected string or bytes-like object
error on the first run, where the cache is not populated correctly.Steps To Reproduce
Create a model and a downstream model that uses
get_columns_in_relation
, created in the same run.Expected behavior
No error (falling back to querying information schema where the cache is not sufficient)
Screenshots and log output
Fails with
The output of
dbt --version
:The operating system you're using: MacOS Mojave
The output of
python --version
: Python 3.8.3Additional context
Described in this slack thread
The text was updated successfully, but these errors were encountered: