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/28 16:21:53 UTC

[PR] [AURON #2539] Support residual conditions in native broadcast hash joins [auron]

Deegue opened a new pull request, #2551:
URL: https://github.com/apache/auron/pull/2551

   # Which issue does this PR close?
   
   Closes #2539 
   
   # Rationale for this change
   Native broadcast hash joins currently support residual conditions only for inner joins. Other join types, such as outer, semi, anti, and existence joins, fall back to Spark when the join includes an additional condition such as `l.k = r.k AND l.v < r.v`.
   These conditions must participate in determining whether rows match. Applying a filter after the join cannot preserve the required semantics for these join types.
   
   # What changes are included in this PR?
   
   - Extend native broadcast hash joins to evaluate residual conditions for supported outer, semi, anti, and existence joins using the shared join-condition evaluator.
   - Update match tracking only for candidate pairs that satisfy the condition, preserving unmatched rows and existence results.
   - Bound candidate batches when processing duplicate keys and gather only the columns required by the condition.
   - Preserve output projections and row counts, including when execution falls back to native sort-merge join.
   - Add Rust and Spark regression tests covering join types, build sides, nulls, projections, spill behavior, and the existing configuration switch.
   
   # Are there any user-facing changes?
   No.
   
   # How was this patch tested?
   UTs.


-- 
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: [PR] [AURON #2539] Support residual conditions in native broadcast hash joins [auron]

Posted by "richox (via GitHub)" <gi...@apache.org>.
richox merged PR #2551:
URL: https://github.com/apache/auron/pull/2551


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