gabotechs opened a new issue, #20778:
URL: https://github.com/apache/datafusion/issues/20778

   ### Is your feature request related to a problem or challenge?
   
   https://github.com/apache/datafusion/pull/19761 introduced buffering on the 
probe side of a HashJoinExec node as an optional feature for eagerly fetching 
the probe side.
   
   While this demonstrates speed in benchmarks, it does not play well with 
dynamic filters, as the buffering behavior does not let the dynamic filter 
produce any meaningful filter, therefore, fetching more than whats necessary.
   
   For this reason, hash join buffering on the probe side is an optional 
feature.
   
   ### Describe the solution you'd like
   
   It would be nice to detect when a dynamic filter exists below the BufferExec 
node and either:
   - disable the buffering behavior
   - hold a reference to the dynamic filter and be smart about whether it's 
worth waiting for it or not
   
   ### Describe alternatives you've considered
   
   Just leave the hash join buffering off by default forever
   
   ### Additional context
   
   _No response_


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to