mosche opened a new pull request, #3050:
URL: https://github.com/apache/calcite/pull/3050

   When using `CheapestPlanReplacer`, semantics of a `RelNode` tree change if 
it contains the same node multiple times in case this node has inputs itself 
that have to be replaced. During replacement such nodes get copied on each 
occurrence.
   
   Instead `CheapestPlanReplacer` should memoize previously visited nodes and 
emit the same result again in the that case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to