adriangb commented on PR #17016: URL: https://github.com/apache/datafusion/pull/17016#issuecomment-3146205523
As you can see the current behavior was intentional and necessary for this functionality. IMO we should add a `.cloned()` or `with_new_state()` method to ExecutionPlan that defaults to `with_new_children()` and we call that from places that don't want to preserve state. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org