Julian Hyde created CALCITE-3096:
------------------------------------

             Summary: 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


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