hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-20432) Rewrite BETWEEN to IN for integer types for stats estimation
Date Fri, 07 Sep 2018 12:37:00 GMT


Hive QA commented on HIVE-20432:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 14928 tests passed

Test results:
Console output:
Test logs:

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

This message is automatically generated.

ATTACHMENT ID: 12938742 - PreCommit-HIVE-Build

> Rewrite BETWEEN to IN for integer types for stats estimation
> ------------------------------------------------------------
>                 Key: HIVE-20432
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>         Attachments: HIVE-20432.1.patch, HIVE-20432.2.patch, HIVE-20432.3.patch, HIVE-20432.4.patch,
> IN clause provides better statistics estimation since predicates are equality based and
it keeps into account selectivity of all values. BETWEEN is rewritten into {{>= AND <=}}
i.e. non-equality predicates which cause worse estimation. For integer types BETWEEN could
be rewritten into IN e.g. BETWEEN 4 and 7 is equivalent to IN (4,5,6,7).

This message was sent by Atlassian JIRA

View raw message