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

Hive QA commented on HIVE-17308:
--------------------------------



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

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

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

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'
2017-08-13 20:53:22.070
+ [[ -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-6377/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'
2017-08-13 20:53:22.073
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 0f9990b HIVE-17301: Make JSONMessageFactory.getTObj method 
thread safe
+ git clean -f -d
Removing ql/src/test/queries/clientpositive/alter_partition_onto_nocurrent_db.q
Removing 
ql/src/test/results/clientpositive/alter_partition_onto_nocurrent_db.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 0f9990b HIVE-17301: Make JSONMessageFactory.getTObj method 
thread safe
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-08-13 20:53:28.659
+ 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/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: No such 
file or directory
error: 
a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HivePlannerContext.java:
 No such file or directory
error: 
a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/HiveRelMdSelectivity.java:
 No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java: No 
such file or directory
error: 
a/ql/src/test/org/apache/hadoop/hive/ql/optimizer/calcite/TestCBORuleFiredOnlyOnce.java:
 No such file or directory
error: a/ql/src/test/results/clientpositive/join_alt_syntax.q.out: No such file 
or directory
error: a/ql/src/test/results/clientpositive/join_cond_pushdown_2.q.out: No such 
file or directory
error: a/ql/src/test/results/clientpositive/join_cond_pushdown_4.q.out: No such 
file or directory
error: a/ql/src/test/results/clientpositive/perf/query17.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query24.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query25.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query29.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query50.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query54.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query64.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query72.q.out: No such file or 
directory
error: a/ql/src/test/results/clientpositive/perf/query85.q.out: 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: 12881665 - PreCommit-HIVE-Build

> Improvement in join cardinality estimation
> ------------------------------------------
>
>                 Key: HIVE-17308
>                 URL: https://issues.apache.org/jira/browse/HIVE-17308
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>         Attachments: HIVE-17308.1.patch, HIVE-17308.2.patch
>
>
> Currently during logical planning join cardinality is estimated assuming no 
> correlation among join keys (This estimation is done using exponential 
> backoff). Physical planning on the other hand consider correlation for multi 
> keys and uses different estimation. We should consider correlation during 
> logical planning as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to