mozilla / bigquery-etl

Bigquery ETL
https://mozilla.github.io/bigquery-etl
Mozilla Public License 2.0
253 stars 100 forks source link

Use updated table object in view publish #5973

Closed BenWu closed 2 months ago

BenWu commented 2 months ago

Following up on https://github.com/mozilla/bigquery-etl/pull/5969. This currently fails for telemetry.newtab_clients_daily with 412 Precondition check failed because the client.get_table call was moved before the schema deploy, which makes the label update call use the ETag of the old table object which fails the If-Match check here https://github.com/googleapis/python-bigquery/blob/ba61a8ab0da541ba1940211875d7ea2e9e17dfa8/google/cloud/bigquery/client.py#L1424

┆Issue is synchronized with this Jira Task