turbaszek commented on a change in pull request #8858:
URL: https://github.com/apache/airflow/pull/8858#discussion_r427082604



##########
File path: airflow/providers/google/cloud/operators/bigquery.py
##########
@@ -997,9 +1042,6 @@ def execute(self, context):
                 labels=self.labels,
                 encryption_configuration=self.encryption_configuration
             )
-        except HttpError as err:

Review comment:
       This operator as well as underlying hook method is deprecated and is 
using this one instead:
   ```
           self.create_empty_table(
               table_resource=table.to_api_repr(),
               project_id=project_id,
               location=location,
               exists_ok=True
           )
   ```
   Idempotency is assured by `exists_ok=True`.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to