Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7029

LHS of a between expr is not cloned when rewritten into LHS >= x and LHS <= y

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • Impala 3.1.0
    • None
    • Frontend
    • None
    • ghx-label-6

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            tianyiwang Tianyi Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: