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 2018/09/15 19:04:39 UTC

[GitHub] xnuinside commented on a change in pull request #3894: WIP: [AIRFLOW-3055] Add BigQueryDatasetCheckExist and BigQueryDatasetsList…

xnuinside commented on a change in pull request #3894: WIP: [AIRFLOW-3055] Add BigQueryDatasetCheckExist and BigQueryDatasetsList…
URL: https://github.com/apache/incubator-airflow/pull/3894#discussion_r217892933
 
 

 ##########
 File path: airflow/contrib/operators/bigquery_operator.py
 ##########
 @@ -569,3 +570,125 @@ def execute(self, context):
             project_id=self.project_id,
             dataset_id=self.dataset_id
         )
+
+
+class BigQueryDatasetCheckExistOperator(BaseOperator):
+    """"
+    This operator is used to check what a dataset exist in Big Query.
+    https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/get
 
 Review comment:
   @kaxil , thanks for review. I was not sure what need to create separate operators for with, so I agree about leave it only as hook. About Sphinx - okay )) 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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