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

Julian Hyde commented on CALCITE-1297:
--------------------------------------

This is intentional. RelBuilder optimizes as it builds expressions. So, it 
removes trivial projects. It also optimizes filters, and removes trivial 
filters.

RelBuilder will remember the field names, so you can refer to fields a, b, c 
when you build the next expression.

Did you run the tests against your PR? I think it will break stuff.

> RelBuilder does not translate identity projects even if they rename fields
> --------------------------------------------------------------------------
>
>                 Key: CALCITE-1297
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1297
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.8.0
>            Reporter: Jark Wu
>            Assignee: Julian Hyde
>             Fix For: 1.9.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to