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 2019/05/29 20:09:00 UTC

[jira] [Resolved] (CALCITE-3096) In RelBuilder, make alias method idempotent

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

Julian Hyde resolved CALCITE-3096.
----------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/aabcb2e5d1df0201fc8b5f3d99f9317bde6d49ae.

> In RelBuilder, make alias method idempotent
> -------------------------------------------
>
>                 Key: CALCITE-3096
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3096
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Priority: Major
>             Fix For: 1.20.0
>
>
> In {{RelBuilder}}, make the {{alias}} method idempotent. If an expression's alias is already 'foo', then calling {{alias(e, "foo")}} will return the expression unchanged.
> The intent of this change is to reduce the number of {{if}} statements that are required in client code that is trying to produce a concise {{RelNode}} tree.



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