You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/19 15:16:10 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #8377: Use python client in BQ hook create_empty_table/dataset and table_exists

turbaszek commented on a change in pull request #8377: Use python client in BQ hook create_empty_table/dataset and table_exists
URL: https://github.com/apache/airflow/pull/8377#discussion_r410926673
 
 

 ##########
 File path: airflow/providers/google/cloud/hooks/bigquery.py
 ##########
 @@ -227,45 +236,43 @@ def create_empty_table(self,  # pylint: disable=too-many-arguments
         :type num_retries: int
         :return: None
         """
-        service = self.get_service()
-
-        project_id = project_id if project_id is not None else self.project_id
+        if num_retries:
+            warnings.warn("Parameter `num_retries` is deprecated", DeprecationWarning)
 
 Review comment:
   I've added the retry object. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services