Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.