You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/04/15 11:34:00 UTC
[jira] [Created] (AIRFLOW-4317) Add operator to update BigQuery
table experationtime
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)