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)

Reply via email to