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

Jess Balint commented on CALCITE-1551:
--------------------------------------

Thanks. PR opened

> RelBuilder's project() doesn't preserve alias
> ---------------------------------------------
>
>                 Key: CALCITE-1551
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1551
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Jess Balint
>            Assignee: Julian Hyde
>            Priority: Minor
>
> The alias should be preserved by the project node, e.g.
> {code:java}
> .scan("EMP")
> .as("EMP_alias")
> .project(...) // resets alias to null
> .project(builder.field("EMP_alias", "DEPTNO")) // fails that no such alias 
> exists
> {code}



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

Reply via email to