You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/01/18 23:05:00 UTC

[jira] [Resolved] (CALCITE-2118) Field names are not preserved by RelToSqlConverter

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

Julian Hyde resolved CALCITE-2118.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.16.0

Fixed in [adc1bb26|http://git-wip-us.apache.org/repos/asf/calcite/commit/adc1bb26]; thanks for the PR, [~samwagg]!

> Field names are not preserved by RelToSqlConverter
> --------------------------------------------------
>
>                 Key: CALCITE-2118
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2118
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.15.0
>            Reporter: Austin Haas
>            Assignee: Julian Hyde
>            Priority: Minor
>             Fix For: 1.16.0
>
>
> This RelNode tree:
> {noformat}
> LogicalProject(x=[$0])
>   LogicalTableScan(table=[[t]])
> {noformat}
> is converted to:
> {code}
> SELECT *
> FROM `t`
> {code}
> when it should be:
> {code}SELECT `a` AS `x`
> FROM `t`
> {code}
> See [dev list thread|http://mail-archives.apache.org/mod_mbox/calcite-dev/201801.mbox/%3C2F715F75-40CD-4053-9C83-7B4550848557%40HealthSparq.com%3E].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)