[Bug] spark_catalog requires a single-part namespace in dbt python incremental model #553
Open
2 tasks done
Labels
feature:python-models
Issues related to python models
pkg:dbt-bigquery
Issue affects dbt-bigquery
type:bug
Something isn't working as documented
Is this a new bug in dbt-bigquery?
Current Behavior
When running a dbt python model with an incremental strategy and using the property
dbt.this
to access the location of the current model, the code breaks.Here's the faulty code:
Here's the error output:
X is the project name and Y is the dataset name.
It is using the
dbt-bigquery
adapter (v.1.7.2) and uses dataproc to submit the Python model.Expected Behavior
It is expected that one can make use of the aforementioned property in order to run incremental models.
Steps To Reproduce
dbt-bigquery
adaptermodel()
function, set thematerialized
property ofdbt.config
toincremental
dbt.this
propertydbt run
Relevant log output
Environment
Additional Context
References:
The text was updated successfully, but these errors were encountered: