airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ryanyuan commented on issue #4213: [AIRFLOW-3371] BigQueryHook's Ability to Create View
Date Tue, 20 Nov 2018 07:43:45 GMT
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

Mime
View raw message