kaxil commented on a change in pull request #3876: [AIRFLOW-2887] Add to BigQueryBaseCursor methods for insert (create empty) dataset URL: https://github.com/apache/incubator-airflow/pull/3876#discussion_r217205266
########## File path: airflow/contrib/operators/bigquery_operator.py ########## @@ -569,3 +568,65 @@ def execute(self, context): project_id=self.project_id, dataset_id=self.dataset_id ) + + +class BigQueryCreateEmptyDatasetOperator(BaseOperator): + """" + This operator is used to create new dataset for your Project in Big query. + https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#resource + + :param project_id: The name of the project where we want to create the dataset. + Not need to provide, if projectId in dataset_resource. Review comment: Nit grammar: `Don't need` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services