hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
Date Wed, 06 Dec 2017 18:58:00 GMT

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

Hive QA commented on HIVE-18173:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 14 failed/errored test(s), 11512 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[auto_sortmerge_join_2] (batchId=48)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[hybridgrace_hashjoin_2]
(batchId=157)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[insert_values_orig_table_use_metadata]
(batchId=165)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=160)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_explainuser_1]
(batchId=178)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_in] (batchId=133)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=113)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_notin] (batchId=136)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_scalar] (batchId=122)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_select] (batchId=122)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_views] (batchId=110)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=227)
org.apache.hive.jdbc.TestJdbcDriver2.testSelectExecAsync2 (batchId=235)
org.apache.hive.jdbc.TestJdbcDriver2.testYarnATSGuid (batchId=235)
{noformat}

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 14 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12900807 - PreCommit-HIVE-Build

> Improve plans for correlated subqueries with non-equi predicate
> ---------------------------------------------------------------
>
>                 Key: HIVE-18173
>                 URL: https://issues.apache.org/jira/browse/HIVE-18173
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>         Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch, HIVE-18173.3.patch, HIVE-18173.4.patch,
HIVE-18173.5.patch, HIVE-18173.6.patch
>
>
> HIVE-17767 optimized plan to not generate value generator (i.e. an extra join with outer
query to fetch correlated columns) for EQUAL and NOT EQUAL predicates e.g.
> {code:sql}
> select * from src b where b.key in (select key from src a where b.value <> a.value)
> {code}
> This should be improved and implemented for rest of the predicates e.g. LESS THAN etc



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

Mime
View raw message