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

   Optimization of the function "intersect".
   
   During the execution of the function "extract_possible_join_keys", if the 
operator of an expression equals OR, then the algorithm goes recursively in 
depth of the tree and joins keys in the array "accum". As bottom nodes are 
majority and they may not have right and left descendants, then the join does 
not happen. However, "intersect" in any cases iterates over all left join keys, 
which is costly.
   
   This minor patch fixed the problem.
   
   # Are these changes tested?
   No new tests added
   
   # Are there any user-facing changes?
   No


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