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

Julian Hyde updated CALCITE-3096:
---------------------------------
    Fix Version/s: 1.20.0

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

Reply via email to