You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/02 06:47:19 UTC

[GitHub] [arrow-datafusion] Dandandan opened a new issue #475: Move predicate to join from sql parser to optimization rule

Dandandan opened a new issue #475:
URL: https://github.com/apache/arrow-datafusion/issues/475


   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   Currently, finding out the implicit join predicates in a `WHERE` clause is done in converting.
   In order to remove cross joins from the plan, we should move this logic to an optimization rule.
   
   **Describe the solution you'd like**
   Add a new optimization rule that looks for expressions in the form `col1 = col2 AND col3 = col4` in the `WHERE` clause and changes the plan to join on those (instead of a cross join).
   The existing code can be removed (and create a cross join in the first step).
   
   **Describe alternatives you've considered**
   N/a.
   
   **Additional context**
   n/a


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org