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/07/27 14:17:19 UTC

[GitHub] [airflow] ryanyuan commented on a change in pull request #5567: [AIRFLOW-4931] Add KMS Encryption Configuration to BigQuery Hook and Operators

ryanyuan commented on a change in pull request #5567: [AIRFLOW-4931] Add KMS Encryption Configuration to BigQuery Hook and Operators
URL: https://github.com/apache/airflow/pull/5567#discussion_r307966556
 
 

 ##########
 File path: airflow/contrib/hooks/bigquery_hook.py
 ##########
 @@ -280,6 +282,13 @@ def create_empty_table(self,
                 "useLegacySql": False
             }
 
+        :param encryption_configuration: [Optional] Custom encryption configuration (e.g., Cloud KMS keys).
+            **Example**: ::
+
+                encryption_configuration = {
+                    "projects/testp/locations/us/keyRings/test-kr/cryptoKeys/test-key"
 
 Review comment:
   @mik-laj  You are right. I have that key in the unit tests and my own end-to-end tests. But somehow I had put the wrong examples. Thanks for reviewing!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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