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

Julian Hyde updated CALCITE-1297:
---------------------------------
    Description: 
RelBuilder does not, and should not, translate identity projects, even if they 
rename fields. But when building further relational expressions (e.g. a 
project) the fields should appear to have their new name.

This requires some tricky implementation. In the RelBuilder, the top RelNode on 
the stack may have a particular row type (say fields (x, y, z)) yet if will 
have a frame that indicates that the field names from the user's perspective 
are (a, b, c).

  was:RelBuilder does not translate identity projects even if they rename 
fields.


> 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
>
>
> RelBuilder does not, and should not, translate identity projects, even if 
> they rename fields. But when building further relational expressions (e.g. a 
> project) the fields should appear to have their new name.
> This requires some tricky implementation. In the RelBuilder, the top RelNode 
> on the stack may have a particular row type (say fields (x, y, z)) yet if 
> will have a frame that indicates that the field names from the user's 
> perspective are (a, b, c).



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

Reply via email to