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 2018/11/20 07:43:45 UTC

[GitHub] ryanyuan commented on issue #4213: [AIRFLOW-3371] BigQueryHook's Ability to Create View

ryanyuan commented on issue #4213: [AIRFLOW-3371] BigQueryHook's Ability to Create View
URL: https://github.com/apache/incubator-airflow/pull/4213#issuecomment-440174668
 
 
   > Can you also add the view.userDefinedFunctionResources[].resourceUri property?
   
   @ron819 You can put that property in the 'view' dict and parse the view to create_empty_table().
   e.g.
   view = {
       "query": string,
       "userDefinedFunctionResources": [
         {
           "resourceUri": string,
           "inlineCode": string
         }
       ],
       "useLegacySql": boolean
     }
   
   Ref: [Resource representations](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#resource)

----------------------------------------------------------------
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