jack created AIRFLOW-4317:
-----------------------------

             Summary: Add operator to update BigQuery table experationtime
                 Key: AIRFLOW-4317
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4317
             Project: Apache Airflow
          Issue Type: Wish
          Components: gcp, operators
            Reporter: jack


The operator can be a class in BigQueryOperator called: 
BigQueryUpdateTableExperationOperator

It has support with the Google API:
{code:java}
Call the tables.patch method and use the expirationTime property to update the 
table expiration in milliseconds. Because the tables.update method replaces the 
entire table resource, the tables.patch method is preferred.
{code}
[https://cloud.google.com/bigquery/docs/managing-tables]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to