mingmwang commented on PR #5572:
URL: 
https://github.com/apache/arrow-datafusion/pull/5572#issuecomment-1469432752

   @yahoNanJing 
   I think if we just to collect/search some information from a tree like 
structure, we do not need to define a Visitor `Trait`.
   A visitor in this case is actually just a map function (closure) we want to 
apply to a tree structure. 
   For example, if we want to traverse a Vec/List container and collect/search 
some information, we do not need to define a `Visitor`.
   


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