You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/01/12 01:27:44 UTC

[GitHub] ryanyuan commented on a change in pull request #4299: [AIRFLOW-3490] BigQueryHook's Ability to Patch Table/View

ryanyuan commented on a change in pull request #4299: [AIRFLOW-3490] BigQueryHook's Ability to Patch Table/View
URL: https://github.com/apache/airflow/pull/4299#discussion_r247296670
 
 

 ##########
 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:
   @kaxil Updated. Please review.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services