You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tianyi Wang (JIRA)" <ji...@apache.org> on 2018/05/15 00:10:00 UTC

[jira] [Created] (IMPALA-7029) LHS of a between expr is not cloned when rewritten into LHS >= x and LHS <= y

Tianyi Wang created IMPALA-7029:
-----------------------------------

             Summary: LHS of a between expr is not cloned when rewritten into LHS >= x and LHS <= y
                 Key: IMPALA-7029
                 URL: https://issues.apache.org/jira/browse/IMPALA-7029
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 3.1.0
            Reporter: Tianyi Wang
             Fix For: Impala 2.13.0


When a between predicates is rewritten into two comparing exprs, the LHS obviously should be cloned but it's not:

https://github.com/apache/impala/blob/19bcc3099ef5e244fe74a0466b0b0eeb673acc8e/fe/src/main/java/org/apache/impala/rewrite/BetweenToCompoundRule.java#L46



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