You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/04 14:08:00 UTC

[jira] [Updated] (CALCITE-3172) RelBuilder#empty does not keep aliases

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

ASF GitHub Bot updated CALCITE-3172:
------------------------------------
    Labels: pull-request-available  (was: )

> RelBuilder#empty does not keep aliases
> --------------------------------------
>
>                 Key: CALCITE-3172
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3172
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Ruben Quesada Lopez
>            Assignee: Ruben Quesada Lopez
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.21.0
>
>
> {{RelBuilder#empty}} method _"Creates a relational expression that reads from an input and throws all of the rows away... The default implementation creates a Values with the same specified row type as the input"_. However, even though the "original" rowType is kept, its aliases are lost, which can lead to issues when building a plan (especially because this method is used internally by other ones, e.g. by RelBuilder#filter with an "always false" filter).



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