You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Ma77Ball (via GitHub)" <gi...@apache.org> on 2026/10/08 07:00:16 UTC

[I] Extract shared base for the indexed shuffle partitioners [texera]

Ma77Ball opened a new issue, #8919:
URL: https://github.com/apache/texera/issues/8919

   ### Task Summary
   The `architecture/sendsemantics` package has three structurally identical shuffle partitioners, `RoundRobinPartitioner`, `HashBasedShufflePartitioner`, and `RangeBasedShufflePartitioner`. Each independently re-implements the same constructor boilerplate, `add_tuple_to_batch` append/yield/reset-slot body, `flush`, and `flush_state`; the only genuine difference is how a tuple picks its receiver slot. This task extracts a shared `IndexedShufflePartitioner` base that owns the common logic, exposing `_route` (per-class index), an `_advance` hook, and a `_clear_batch_on_flush` flag so each subclass shrinks to just its routing. Strictly behavior-preserving (`OneToOne` and `Broadcast` are untouched).
   ### Task Type
   - [x] Code Cleanup


-- 
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: notifications-unsubscribe@texera.apache.org.apache.org

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


Re: [I] Extract shared base for the indexed shuffle partitioners [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8919:
URL: https://github.com/apache/texera/issues/8919#issuecomment-6054397796

   <!-- texera:template-compliance -->
   👋 Thanks for opening this issue, @Ma77Ball!
   
   It looks like the issue description doesn't quite follow our template yet:
   
   - This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
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: notifications-unsubscribe@texera.apache.org

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


Re: [I] Extract shared base for the indexed shuffle partitioners [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #8919: Extract shared base for the indexed shuffle partitioners
URL: https://github.com/apache/texera/issues/8919


-- 
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: notifications-unsubscribe@texera.apache.org

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