peterxcli opened a new pull request, #23854:
URL: https://github.com/apache/datafusion/pull/23854

   ## Which issue does this PR close?
   
   - Closes https://github.com/apache/datafusion/issues/23376.
   
   ## Rationale for this change
   
   Partitioned hash joins build one dynamic filter per build partition. 
Existing routing uses `hash(key) % N`, which cannot reproduce a Range 
partitioning layout. 
   Compatible Range co-partitioned joins instead need to route probe rows using 
their existing ordering and split points.
   
   ## What changes are included in this PR?
   
   - Enable dynamic filter pushdown for hash joins with compatible 
Range-partitioned inputs.
   - Build a searched `CASE` expression that routes probe rows to the 
corresponding partition filter using the Range ordering and split points.
   - Preserve empty and canceled partition behavior for both Hash and Range 
routing.
   - Move the TopK lexicographic filter builder into the shared ordering module 
for reuse.
   
   ## Are these changes tested?
   
   unit test.
   
   ## 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]


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

Reply via email to