[ 
https://issues.apache.org/jira/browse/CALCITE-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043429#comment-18043429
 ] 

Zhen Chen edited comment on CALCITE-4525 at 12/8/25 12:31 AM:
--------------------------------------------------------------

Fixed in 
[{{3c85e06}}|https://github.com/apache/calcite/commit/3c85e06d908d4b0c3027d6830cbee308fe638093]
 

Thanks for review [~mbudiu] 

This PR only adds a test case. I think the actual fix for this issue is in 
CALCITE-6586.


was (Author: jensen):
Fixed in 
[{{3c85e06}}|https://github.com/apache/calcite/commit/3c85e06d908d4b0c3027d6830cbee308fe638093]
 

This PR only adds a test case. I think the actual fix for this issue is in 
CALCITE-6586.

> Pull up predicate will lose some predicates when project contains same 
> RexInputRef
> ----------------------------------------------------------------------------------
>
>                 Key: CALCITE-4525
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4525
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Ziwei Liu
>            Assignee: Zhen Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.42.0
>
>
> If project like this a=$0, b=$0
> Pull up predicate is $0='a'
> when pull up through project, predicate will only contain b='a'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to