You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@auron.apache.org by "Deegue (via GitHub)" <gi...@apache.org> on 2026/09/22 04:12:13 UTC

[I] Parent: Support and extend residual join conditions [auron]

Deegue opened a new issue, #2542:
URL: https://github.com/apache/auron/issues/2542

   **Is your feature request related to a problem? Please describe.**
   Auron supports residual conditions for native inner sort-merge and shuffled hash joins through #2197, and native inner broadcast hash joins through #2438.
   
   Support remains limited for non-inner joins and broadcast nested loop joins with conditions, causing these queries to fall back to Spark. Extending support requires evaluating the condition before finalizing matched and unmatched rows, including outer, semi, anti, and existence join results.
   
   The existing inner-join implementation also materializes candidate columns before filtering them. This can create unnecessary copying and allocation when duplicate keys produce many candidate pairs and the residual condition rejects most of them.
   
   **Describe the solution you'd like**
   Extend the existing native CPU join-condition support through five incremental changes:
   
   1. Add shared condition-evaluation utilities with column remapping, projection handling, and bounded candidate evaluation.
   2. Extend native sort-merge joins to support residual conditions for outer, semi, anti, and existence joins.
   3. Extend native broadcast hash joins to support residual conditions for additional supported join types and build orientations.
   4. Enable the extended support in native shuffled hash joins, including forced sort-merge-to-shuffled-hash conversion.
   5. Support conditions in native broadcast nested loop joins without equality keys, while retaining build-side restrictions required for correctness.
   
   Preserve the existing condition serialization, planning interfaces, and configuration switch. Rework native candidate evaluation and match tracking to preserve SQL semantics and reduce unnecessary materialization.
   
   There are several sub-issues:
   
   - [ ] #2536 
   - [ ] #2538 
   - [ ] #2539 
   - [ ] #2540 
   - [ ] #2541 
   
   Completing these issues will broaden native join-condition support and is expected to improve performance, especially for joins with many candidate pairs and selective residual predicates.


-- 
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: commits-unsubscribe@auron.apache.org.apache.org

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


Re: [I] Parent: Support and extend residual join conditions [auron]

Posted by "Deegue (via GitHub)" <gi...@apache.org>.
Deegue closed issue #2542: Parent: Support and extend residual join conditions
URL: https://github.com/apache/auron/issues/2542


-- 
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: commits-unsubscribe@auron.apache.org

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


Re: [I] Parent: Support and extend residual join conditions [auron]

Posted by "Deegue (via GitHub)" <gi...@apache.org>.
Deegue commented on issue #2542:
URL: https://github.com/apache/auron/issues/2542#issuecomment-5927878616

   Close this parent issue since all sub tasks are finished.


-- 
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: commits-unsubscribe@auron.apache.org

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