jackwener opened a new pull request, #3972:
URL: https://github.com/apache/arrow-datafusion/pull/3972

   # Which issue does this PR close?
   
   This PR relate #2620.
   
   Currently, we must do optimize recursively in each rules, which is troubled.
   
   It make it's a little hard for putting some rule into optimizer. 
   
   ```
   example:
   
   rule: put `where col = col` into join eliminate cross join, if it's rule, we 
just need after pushdown predicate,
   
   filter(t1.id = t2.id)-crossJoin
   ->
   innerjoin() 
   ```
   
    # Rationale for this change
   
   # What changes are included in this PR?
   
   This PR is draft, which present how to make optimizer  instead of rule to 
handle to travel plantree.
   
   # Are there any user-facing changes?
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->


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