[
https://issues.apache.org/jira/browse/AIRFLOW-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaxil Naik resolved AIRFLOW-4230.
---------------------------------
Resolution: Fixed
> bigquery schema update options should be a list
> -----------------------------------------------
>
> Key: AIRFLOW-4230
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4230
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib, gcp, hooks, operators
> Affects Versions: 1.10.4
> Reporter: Ben Marengo
> Assignee: Tomasz Urbaszek
> Priority: Minor
> Fix For: 1.10.5
>
>
> in AIRFLOW-1829 schema update options were implemented as a tuple, which
> doesn't make any sense
> - this is inconsistent with the [bq
> api|https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs], which
> expects a list
> - and doesnt allow the user of operators to deserialise config json (which
> doesnt support tuples) to a dict and use them as the args for the bq operator
> eg. i would like to be able to do the following without having to cast
> schema_update_options as a tuple:
> {code}
> config_dict = json.loads(some_config)
> BigQueryOperator(**config_dict)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)