[
https://issues.apache.org/jira/browse/AIRFLOW-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Ukhov closed AIRFLOW-3856.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.10.3
> Incorrect treatment of use_legacy_sql in BigQueryOperator
> ---------------------------------------------------------
>
> Key: AIRFLOW-3856
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3856
> Project: Apache Airflow
> Issue Type: Bug
> Components: api, gcp
> Affects Versions: 1.10.2
> Reporter: Ivan Ukhov
> Priority: Major
> Fix For: 1.10.3
>
>
> BigQueryOperator does not allow use_legacy_sql set to False and query_params
> at the same time. The problem can be seen here:
> [https://github.com/apache/airflow/blob/1.10.2/airflow/contrib/hooks/bigquery_hook.py#L731]
> It is not the presence that matters but the actual value. This effectively
> prevents the usage of query parameters, as the default value for
> use_legacy_sql is True.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)