Ivan Ukhov created AIRFLOW-3856:
-----------------------------------

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


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)

Reply via email to