hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11044) Some optimizable predicates being missed by constant propagation
Date Thu, 18 Jun 2015 17:35:00 GMT
Jason Dere created HIVE-11044:
---------------------------------

             Summary: Some optimizable predicates being missed by constant propagation
                 Key: HIVE-11044
                 URL: https://issues.apache.org/jira/browse/HIVE-11044
             Project: Hive
          Issue Type: Bug
          Components: Query Planning
            Reporter: Jason Dere
            Assignee: Jason Dere


Some of the qfile explain plans show some predicates that could be taken care of by running
ConstantPropagate after the PartitionPruner:

index_auto_unused.q:
{noformat}
filterExpr: ((12.0 = 12.0) and (UDFToDouble(key) < 10.0)) (type: boolean)
{noformat}

join28.q:
{noformat}
predicate: ((11.0 = 11.0) and key is not null) (type: boolean)
{noformat}

bucketsort_optimize_insert_7.q ("is not null" is unnecessary)
{noformat}
predicate: (((key < 8) and key is not null) and ((key = 0) or (key = 5))) (type: boolean)
{noformat}



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

Mime
View raw message