[ https://issues.apache.org/jira/browse/HIVE-16367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857349#comment-16857349 ]
Hive QA commented on HIVE-16367: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12864687/HIVE-16367.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17446/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17446/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17446/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2019-06-06 06:44:46.098 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-17446/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2019-06-06 06:44:46.102 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at e7f2fccd HIVE-21785: Add task queue/runtime stats per LLAP daemon to output (Oliver Draese via Slim Bouguerra) + git clean -f -d Removing standalone-metastore/metastore-server/src/gen/ + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at e7f2fccd HIVE-21785: Add task queue/runtime stats per LLAP daemon to output (Oliver Draese via Slim Bouguerra) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-06-06 06:44:46.830 + rm -rf ../yetus_PreCommit-HIVE-Build-17446 + mkdir ../yetus_PreCommit-HIVE-Build-17446 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-17446 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17446/yetus + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/CalciteSemanticException.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java: does not exist in index error: a/ql/src/test/queries/clientpositive/join_nullsafe.q: does not exist in index error: a/ql/src/test/results/clientpositive/llap/join_nullsafe.q.out: does not exist in index error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java:478 Falling back to three-way merge... Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java' cleanly. error: patch failed: ql/src/test/queries/clientpositive/join_nullsafe.q:1 Falling back to three-way merge... Applied patch to 'ql/src/test/queries/clientpositive/join_nullsafe.q' cleanly. error: patch failed: ql/src/test/results/clientpositive/llap/join_nullsafe.q.out:14 Falling back to three-way merge... Applied patch to 'ql/src/test/results/clientpositive/llap/join_nullsafe.q.out' with conflicts. Going to apply patch with: git apply -p1 /data/hiveptest/working/scratch/build.patch:77: trailing whitespace. sort order: /data/hiveptest/working/scratch/build.patch:97: trailing whitespace. sort order: /data/hiveptest/working/scratch/build.patch:116: trailing whitespace. 0 /data/hiveptest/working/scratch/build.patch:117: trailing whitespace. 1 /data/hiveptest/working/scratch/build.patch:170: trailing whitespace. sort order: error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java:478 Falling back to three-way merge... Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java' cleanly. error: patch failed: ql/src/test/queries/clientpositive/join_nullsafe.q:1 Falling back to three-way merge... Applied patch to 'ql/src/test/queries/clientpositive/join_nullsafe.q' cleanly. error: patch failed: ql/src/test/results/clientpositive/llap/join_nullsafe.q.out:14 Falling back to three-way merge... Applied patch to 'ql/src/test/results/clientpositive/llap/join_nullsafe.q.out' with conflicts. U ql/src/test/results/clientpositive/llap/join_nullsafe.q.out warning: squelched 22 whitespace errors warning: 27 lines add whitespace errors. + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-17446 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12864687 - PreCommit-HIVE-Build > Null-safe equality <=> operator is not supported with CBO > ---------------------------------------------------------- > > Key: HIVE-16367 > URL: https://issues.apache.org/jira/browse/HIVE-16367 > Project: Hive > Issue Type: Improvement > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Attachments: HIVE-16367.1.patch > > > Calcite doesn't support such equality operator so hive bails out and goes > through non-cbo path. This could restrict it's usage with subqueries and > other cbo only features. > Since {{<=>}} is equivalent to {{is not distinct from}} (HIVE-15986) we can > rewrite {{<=>}} to {{is not distinct from}} and enable CBO. -- This message was sent by Atlassian JIRA (v7.6.3#76005)