[ 
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)

Reply via email to