policy tags error with 1.5.0 only

The problem I’m having

Using dbt 1.5.0 gives me errors about policy tags in BQ even if we are not using them.

The context of why I’m trying to do this

Running my models normally.

What I’ve already tried

This happens only with 1.5.0, going back to 1.4.3 solves the error.

Some example code or error messages

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  

@matfior if this is a new regression in dbt, can you please open an issue on the GitHub repo instead? Issues · dbt-labs/dbt-bigquery · GitHub

Done.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.