Closed kristof-taveirne closed 1 year ago
HI @kristof-taveirne thanks so much for opening this issue and raising it to our attention.
This is a peculiar bug indeed 🤔. I just downgraded my dbt version to 1.4.0 and found that it compiled and ran successfully. I also checked the dbt-core and dbt-bigquery releases and did not see any regression that called this type of error message out.
Further, I took a look at the error messages and they seem to be contradicting the logic within the models themselves. The error messages state that this may be caused by having refs live within conditional blocks; however, none of those models have the refs in conditional blocks. In theory, dbt should be able to pick these referential dependencies up without an issue.
I am a bit apprehensive of adjusting the dbt required range as this can cause some friction for our existing users that are not on the latest version of dbt-core. I wonder if this could have possibly been a result of needing to clean the manifest and when upgrading the package there somehow was conflicting manifest versions of the package that caused this error to occur?
As mentioned above, this is not something we will likely adjust within the package. That being said, I would be open to hearing if any other users run into this same issue.
However, for the time being I will close this issue.
Is there an existing issue for this?
Describe the issue
When trying to upgrade from the fivetran/shopify dbt package version 0.7 to 0.8 I'm experiencing the following Compilation Errors in the models.
However when I updated from DBT-bigquery 1.4.0 to 1.4.5 the error disappeared.
This probably means that the require-dbt-version needs to be updated from [">=1.3.0", "<2.0.0"] to [">=1.4.5", "<2.0.0"] for the version 0.8.0 to work.
Kind regards, Kristof.
Relevant error log or model output
Expected behavior
These models come fresh out of the box so I would expect those models to generate without an issue.
dbt Project configurations
vars: shopify_union_schemas: [ 'shopify_store_nl', 'shopify_store_fr', 'shopify_store_en', ] # use this if the data is in different schemas/datasets of the same database/project shopify_database: 'pitpit-data-raw' shopify_using_fulfillment_event: false
Package versions
packages:
What database are you using dbt with?
bigquery
dbt Version
Core:
latest: 1.4.5 - Update available!
Your version of dbt-core is out of date! You can find instructions for upgrading here: https://docs.getdbt.com/docs/installation
Plugins:
bigquery: 1.4.0 - Update available!
At least one plugin is out of date or incompatible with dbt-core.
Additional Context
No response
Are you willing to open a PR to help address this issue?