[ https://issues.apache.org/jira/browse/AIRFLOW-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884030#comment-16884030 ]
ASF subversion and git services commented on AIRFLOW-3495: ---------------------------------------------------------- Commit 730cb185f0cad4d36aad049a2ffa2743294af158 in airflow's branch refs/heads/v1-10-stable from eladkal [ https://gitbox.apache.org/repos/asf?p=airflow.git;h=730cb18 ] [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. (cherry picked from commit fb93df142bafbfbb59dcb42a2d80932a4f2e2b06) > 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 > Fix For: 1.10.4 > > > 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)