mingmwang commented on PR #4365:
URL:
https://github.com/apache/arrow-datafusion/pull/4365#issuecomment-1330186642
It seems that with the LogicalPlan structs, it is not that convenient to
write pattern-matching and destructuring code, because of the Arc.
````
match plan {
LogicalPlan::Filter(Filter{predicate, LogicalPlan::Sort(sort)}) => {
}
LogicalPlan::Filter(Filter{predicate, LogicalPlan::Projection(proj)}) =>{
}
LogicalPlan::Filter(Filter{predicate, LogicalPlan::Aggregate(agg)}) =>{
}
}
````
--
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]