You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jess Balint (JIRA)" <ji...@apache.org> on 2016/12/22 01:37:59 UTC
[jira] [Created] (CALCITE-1551) RelBuilder's project() doesn't
preserve alias
Jess Balint created CALCITE-1551:
------------------------------------
Summary: 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)