kaxil commented on a change in pull request #4299: [AIRFLOW-3490] BigQueryHook's Ability to Patch Table/View URL: https://github.com/apache/incubator-airflow/pull/4299#discussion_r241947032
########## File path: airflow/contrib/hooks/bigquery_hook.py ########## @@ -495,6 +495,78 @@ def create_external_table(self, 'BigQuery job failed. Error was: {}'.format(err.content) ) + def patch_table(self, + project_id, + dataset_id, + table_id, + schema=None, + view=None): + """ + Patch information in an existing table/view. + Schema changes can only be applied to tables, not views. Review comment: This needs to support more than just updating schema as done by the api https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/patch. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services