carloea2 opened a new issue, #8187: URL: https://github.com/apache/texera/issues/8187
### Root cause Python hash and range partitioners emit pending batches during `flush` and `flush_state` but do not clear those batches afterward. Later control markers can resend the same tuples, unlike the round-robin, broadcast, and one-to-one partitioners. ### Reproduction Add one tuple below the batch-size threshold, flush its receiver twice, and inspect both outputs. Before: first flush sends the tuple and marker, second flush sends the same tuple and marker again After: first flush sends the tuple and marker, second flush sends only the marker The same stale-batch behavior occurs after `flush_state` in both partitioners. ### Expected behavior A batch emitted across a control or state boundary is cleared exactly once. ### Version Current `main` at 70c21145887920528d7d5540e3fb790b43e8b759. -- 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]
