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 2019/09/21 18:50:56 UTC

[GitHub] [airflow] feluelle commented on a change in pull request #6151: [AIRFLOW-5522] BQ list dataset tables operator

feluelle commented on a change in pull request #6151: [AIRFLOW-5522] BQ list dataset tables operator
URL: https://github.com/apache/airflow/pull/6151#discussion_r326869776
 
 

 ##########
 File path: airflow/gcp/operators/bigquery.py
 ##########
 @@ -1132,6 +1132,65 @@ def execute(self, context):
             project_id=self.project_id)
 
 
+class BigQueryGetDatasetTablesOperator(BaseOperator):
+    """
+    This operator retrieves the list of tables in the specified dataset.
+
+    :param dataset_id: the dataset ID of the requested dataset.
+    :type dataset_id: str
+    :param project_id: (Optional) the project of the requested dataset. If None,
+        self.project_id will be used.
+    :type project_id: str
+    :param max_results: (Optional) the maximum number of tables to return.
+    :type max_results: int
+    :param page_token: (Optional) page token, returned from a previous call,
+        identifying the result set.
+    :type page_token: str
+    :param gcp_conn_id: (Optional) The connection ID used to connect to Google Cloud Platform.
+    :type gcp_conn_id: str
+    :param delegate_to: (Optional) The account to impersonate, if any.
+        For this to work, the service account making the request must have domain-wide
+        delegation enabled.
+    :type delegate_to: str
+
+    :rtype: dict
+        https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/list#response-body
 
 Review comment:
   ```suggestion
   
           .. seealso:: https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/list#response-body
   ```

----------------------------------------------------------------
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