You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2017/11/28 18:50:00 UTC

[jira] [Created] (HIVE-18167) Optimizer: Rewrite Constant BETWEEN col1 and col2 for PPD

Gopal V created HIVE-18167:
------------------------------

             Summary: Optimizer: Rewrite Constant BETWEEN col1 and col2 for PPD
                 Key: HIVE-18167
                 URL: https://issues.apache.org/jira/browse/HIVE-18167
             Project: Hive
          Issue Type: Improvement
          Components: Logical Optimizer
            Reporter: Gopal V


{code}
CURRENT_DATE between start_date and end_date
{code}

is not pushed down to the predicate layer, while the inclusive comparison ops

{code}
start_date <= CURRENT_DATE and end_date >= CURRENT_DATE
{code}

are evaluated at the row-index level.



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