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-20712) HivePointLookupOptimizer should extract deep cases
Date Tue, 09 Oct 2018 10:11:00 GMT

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

Hive QA commented on HIVE-20712:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15066 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udaf_histogram_numeric] (batchId=14)
{noformat}

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

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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12942955 - PreCommit-HIVE-Build

> HivePointLookupOptimizer should extract deep cases
> --------------------------------------------------
>
>                 Key: HIVE-20712
>                 URL: https://issues.apache.org/jira/browse/HIVE-20712
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-20712.01.patch, HIVE-20712.01.patch, HIVE-20712.02.patch
>
>
> currently IN extraction stops at the first level; as a result for the following query,
the nested INs are not closed back.
> {code}
> create table t(a integer);
> create table t2(b integer);
> insert into t values (1),(2),(3),(4);
> insert into t2 values (1),(2),(3),(4);
> explain
> select * from t,t2 where
> 	a*a=b+3
> 	and
> 	a in (1,2,3,4)
> 	and
> 	b in (1,2,3,4)
> 	and (
> 		(a in (1,2) and b in (1,2) ) or 
> 		(a in (2,3) and b in (2,3) )
> 			)
> 	;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message