[ https://issues.apache.org/jira/browse/HIVE-15251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez updated HIVE-15251: ------------------------------------------- Comment: was deleted (was: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12841527/HIVE-15251.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2382/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2382/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2382/ 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' 2016-12-02 17:22:13.489 + [[ -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-2382/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' 2016-12-02 17:22:13.492 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 4e07546 HIVE-15242: LLAP: Act on Node update notifications from registry, fix isAlive checks (Siddharth Seth, Sergey Shelukhin reviewed by Prasanth Jayachandran) + git clean -f -d Removing ql/src/test/queries/clientpositive/join_emit_interval.q Removing ql/src/test/queries/clientpositive/mapjoin_emit_interval.q Removing ql/src/test/results/clientpositive/join_emit_interval.q.out Removing ql/src/test/results/clientpositive/llap/join_emit_interval.q.out Removing ql/src/test/results/clientpositive/llap/mapjoin_emit_interval.q.out + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 4e07546 HIVE-15242: LLAP: Act on Node update notifications from registry, fix isAlive checks (Siddharth Seth, Sergey Shelukhin reviewed by Prasanth Jayachandran) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2016-12-02 17:22:14.445 + 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: patch failed: itests/src/test/resources/testconfiguration.properties:180 error: itests/src/test/resources/testconfiguration.properties: patch does not apply The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12841527 - PreCommit-HIVE-Build) > Provide support for complex expressions in ON clauses for OUTER joins > --------------------------------------------------------------------- > > Key: HIVE-15251 > URL: https://issues.apache.org/jira/browse/HIVE-15251 > Project: Hive > Issue Type: Bug > Components: CBO, Parser > Affects Versions: 2.2.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-15251.patch > > > Follow-up of HIVE-15211. > Currently, we have some restrictions on the predicates that we can use in ON > clauses for outer joins. > This patch is an extension to overcome these restrictions. Follow-up work > will focus on identifying some cases, such as disjunctive predicates, that > can be run more efficiently than with a cartesian product. > It will allow to write queries that currently fail in Hive such as: > {code:sql} > -- Disjunctions > SELECT * > FROM src1 LEFT OUTER JOIN src > ON (src1.key=src.key > OR src1.value between 100 and 102 > OR src.value between 100 and 102) > LIMIT 10; > -- Conjunction with multiple inputs references in one side > SELECT * > FROM src1 RIGHT OUTER JOIN src > ON (src1.key+src.key >= 100 > AND src1.key+src.key <= 102) > LIMIT 10; > -- Conjunct with no references > SELECT * > FROM src1 FULL OUTER JOIN src > ON (src1.value between 100 and 102 > AND src.value between 100 and 102 > AND true) > LIMIT 10; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)