peter-toth opened a new pull request, #10666:
URL: https://github.com/apache/datafusion/pull/10666

   The idea of using slices to return a node's children came up here: 
https://github.com/apache/datafusion/pull/10543#discussion_r1614057653.
   While it is not possible in all `TreeNode` implementations, the 2 
`ConcreteTreeNode` implementations (`ExprContext` and `PlanContext`) own their 
children in `Vec` form, so there is a way to return a slice like `&[Self]` 
(instead of the current `Vec<&Self>`).


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to