[ 
https://issues.apache.org/jira/browse/HIVE-10792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15656119#comment-15656119
 ] 

Hive QA commented on HIVE-10792:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12735292/HIVE-10792.2.patch

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2075/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2075/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2075/

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-11-11 04:44:41.042
+ [[ -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-2075/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-11-11 04:44:41.044
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 444af20 HIVE-15119: Support standard syntax for ROLLUP & CUBE 
(Vineet Garg, reviewed by Jesus Camacho Rodriguez)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 444af20 HIVE-15119: Support standard syntax for ROLLUP & CUBE 
(Vineet Garg, reviewed by Jesus Camacho Rodriguez)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2016-11-11 04:44:42.088
+ 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/io/HiveInputFormat.java: No such 
file or directory
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12735292 - PreCommit-HIVE-Build

> PPD leads to wrong answer when mapper scans the same table with multiple 
> aliases
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-10792
>                 URL: https://issues.apache.org/jira/browse/HIVE-10792
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats, Query Processor
>    Affects Versions: 0.13.0, 0.14.0, 0.13.1, 1.0.0, 1.2.0, 1.1.0, 1.2.1
>            Reporter: Dayue Gao
>            Assignee: Dayue Gao
>            Priority: Critical
>         Attachments: HIVE-10792.1.patch, HIVE-10792.2.patch, 
> HIVE-10792.test.sql
>
>
> Here's the steps to reproduce the bug.
> First of all, prepare a simple ORC table with one row
> {code}
> create table test_orc (c0 int, c1 int) stored as ORC;
> {code}
> Table: test_orc
> ||c0||c1||
> |0|1|
> The following SQL gets empty result which is not expected
> {code}
> select * from test_orc t1
> union all
> select * from test_orc t2
> where t2.c0 = 1
> {code}
> Self join is also broken
> {code}
> set hive.auto.convert.join=false; -- force common join
> select * from test_orc t1
> left outer join test_orc t2 on (t1.c0=t2.c0 and t2.c1=0);
> {code}
> It gets empty result while the expected answer is
> ||t1.c0||t1.c1||t2.c0||t2.c1||
> |0|1|NULL|NULL|
> In these cases, we pushdown predicates into OrcInputFormat. As a result, 
> TableScanOperator for "t1" can't receive its rows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to