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

2018-05-17 Thread Tianyi Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/IMPALA-7029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tianyi Wang resolved IMPALA-7029.
-
Resolution: Not A Bug

> 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
>Priority: Minor
> 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)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



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

2018-05-17 Thread Tianyi Wang (JIRA)

 [ 
https://issues.apache.org/jira/browse/IMPALA-7029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tianyi Wang resolved IMPALA-7029.
-
Resolution: Fixed

This is not a issue. I changed some expr in place while working on IMPALA-4025, 
which is wrong.

> 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
>Priority: Minor
> 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)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org