airflow.contrib.operators.bigquery_table_delete_operator
¶
This module contains Google BigQuery table delete operator.
Module Contents¶
-
class
airflow.contrib.operators.bigquery_table_delete_operator.
BigQueryTableDeleteOperator
(deletion_dataset_table, gcp_conn_id='google_cloud_default', bigquery_conn_id=None, delegate_to=None, ignore_if_missing=False, *args, **kwargs)[source]¶ Bases:
airflow.models.BaseOperator
Deletes BigQuery tables
- Parameters
deletion_dataset_table (str) – A dotted
(<project>.|<project>:)<dataset>.<table>
that indicates which table will be deleted. (templated)gcp_conn_id (str) – (Optional) The connection ID used to connect to Google Cloud Platform.
bigquery_conn_id (str) – (Deprecated) The connection ID used to connect to Google Cloud Platform. This parameter has been deprecated. You should pass the gcp_conn_id parameter instead.
delegate_to (str) – The account to impersonate, if any. For this to work, the service account making the request must have domain-wide delegation enabled.
ignore_if_missing (bool) – if True, then return success even if the requested table does not exist.