avantgardnerio commented on code in PR #3482:
URL: https://github.com/apache/arrow-datafusion/pull/3482#discussion_r972435250
##########
datafusion/core/src/execution/context.rs:
##########
@@ -1437,6 +1438,7 @@ impl SessionState {
Arc::new(ScalarSubqueryToJoin::new()),
Arc::new(SubqueryFilterToJoin::new()),
Arc::new(EliminateFilter::new()),
+ Arc::new(ReduceCrossJoin::new()),
Review Comment:
@alamb having dealt with fickle ordering of optimizer rules before, I'm
worried that the implementations could become quite brittle if they are reliant
on ordering at all. Do you think it could eventually be a good idea to run them
in a loop until no more optimization can be accomplished?
Just throwing a crazy idea out there...
--
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]