peter-toth opened a new issue, #8663: URL: https://github.com/apache/arrow-datafusion/issues/8663
### Is your feature request related to a problem or challenge? Curretnly there are many special `TreeNode` trees in DataFusion so as to carry additional information needed for tree transformations. These special trees are a bit cumbersome as they need to implement `TreeNode` functions (`apply_children()`, `map_children()`). ### Describe the solution you'd like I'm suggesting to add `TreeNode.transform_with_payload()`, `TreeNode.transform_down_with_payload()` and `TreeNode.transform_up_with_payload()` to propagate up additional information during `TreeNode` transformation. Please see 4. in https://github.com/apache/arrow-datafusion/pull/7942 and its POC implementation. ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
