You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a regression in a recent version of dbt-bigquery?
I believe this is a regression in dbt-bigquery functionality
I have searched the existing issues, and I could not find an existing issue for this regression
Current Behavior
Running my models with the latest version of dbt gives me errors about policy tags which we are not using.
Only some models are failing but they do not have anything special about them.
Expected/Previous Behavior
No errors.
Steps To Reproduce
Install latest version of dbt
Run the models
Relevant log output
08:25
15:08:25 400 PATCH https://bigquery.googleapis.com/bigquery/v2/projects/datawarehouse-304513/datasets/_dev_dataproducts_mf/tables/il_awin_transaction?prettyPrint=false: Policy tags can only be attached to a leaf field.
15:08:25
15:08:25 400 PATCH https://bigquery.googleapis.com/bigquery/v2/projects/datawarehouse-304513/datasets/_dev_dataproducts_mf/tables/il_gcp_billing_export?prettyPrint=false: Policy tags can only be attached to a leaf field.
15:08:25
15:08:25 400 PATCH https://bigquery.googleapis.com/bigquery/v2/projects/datawarehouse-304513/datasets/_dev_dataproducts_mf/tables/il_gcp_cloud_pricing_export?prettyPrint=false: Policy tags can only be attached to a leaf field.
15:08:25
15:08:25 400 PATCH https://bigquery.googleapis.com/bigquery/v2/projects/datawarehouse-304513/datasets/_dev_dataproducts_mf/tables/b2b_sales_commissions?prettyPrint=false: Policy tags can only be attached to a leaf field.
15:08:25
I believe this is the same as #687, so I'm going to close this as a duplicate. We'll be doing a patch release that has the fix soon. Please reach out if it doesn't fix the issue you are seeing and we can re-open this.
You mentioned that you aren't using policy tags. This surprises me, because I think you wouldn't be getting this error otherwise. I'd suggest looking in your project (or dbt packages that you have installed) for configurations like shown below. Regardless, I believe the error messages you are seeing will be solved by the upcoming patch release mentioned above.
# version isn't required for dbt-core 1.5, but it is for 1.4version: 2models:
- name: my_modelcolumns:
- name: iddescription: Primary keypolicy_tags:
# Example pattern:# - 'projects/<gcp-project>/locations/<location>/taxonomies/<organization>/policyTags/<tag>'
- projects/dbt-test-env/locations/us/taxonomies/5785568062805976401/policyTags/135489647357012267
Is this a regression in a recent version of dbt-bigquery?
Current Behavior
Running my models with the latest version of dbt gives me errors about policy tags which we are not using.
Only some models are failing but they do not have anything special about them.
Expected/Previous Behavior
No errors.
Steps To Reproduce
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: