blob: d394eeb77724a7ab5be8682097585f59dc877959 [file] [log] [blame]
:mod:`airflow.contrib.operators.bigquery_table_delete_operator`
===============================================================
.. py:module:: airflow.contrib.operators.bigquery_table_delete_operator
Module Contents
---------------
.. py:class:: BigQueryTableDeleteOperator(deletion_dataset_table, bigquery_conn_id='bigquery_default', delegate_to=None, ignore_if_missing=False, *args, **kwargs)
Bases: :class:`airflow.models.BaseOperator`
Deletes BigQuery tables
:param deletion_dataset_table: A dotted
``(<project>.|<project>:)<dataset>.<table>`` that indicates which table
will be deleted. (templated)
:type deletion_dataset_table: str
:param bigquery_conn_id: reference to a specific BigQuery hook.
:type bigquery_conn_id: str
:param delegate_to: 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
:param ignore_if_missing: if True, then return success even if the
requested table does not exist.
:type ignore_if_missing: bool
.. attribute:: template_fields
:annotation: = ['deletion_dataset_table']
.. attribute:: ui_color
:annotation: = #ffd1dc
.. method:: execute(self, context)