[
https://issues.apache.org/jira/browse/AIRFLOW-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882925#comment-16882925
]
ASF subversion and git services commented on AIRFLOW-3495:
----------------------------------------------------------
Commit fb93df142bafbfbb59dcb42a2d80932a4f2e2b06 in airflow's branch
refs/heads/master from eladkal
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=fb93df1 ]
[AIRFLOW-3495] Validate one of query and query_uri passed to
DataProcSparkSqlOperator (#5510)
DataProcSparkSqlOperator and DataProcHiveOperator are working either with query
or query_uri. Passing both doesn't make sense so check at construction time.
> DataProcSparkSqlOperator and DataProcHiveOperator should raise error when
> query and query_uri are both provided
> ---------------------------------------------------------------------------------------------------------------
>
> Key: AIRFLOW-3495
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3495
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib, gcp
> Reporter: Wilson Lian
> Priority: Minor
>
> Exactly 1 of the query and query_uri params will be used. It should be an
> error to provide more than one. Fixing this will make cases like
> [this|https://stackoverflow.com/questions/53424091/unable-to-query-using-file-in-data-proc-hive-operator]
> less confusing.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)