kz930 opened a new pull request, #8506: URL: https://github.com/apache/texera/pull/8506
### What changes were proposed in this PR? Seventeen operators implement `StandaloneCodeGenerator`: the three joins, the three set operations, Aggregate, the sort family, Split, the two samplers, and If, Dummy and Sleep. What they have in common is that they rearrange rows rather than read what is inside one. The samplers need more than a pandas expression. A sampler decides per row whether to keep it, so which rows survive is fixed by the exact sequence `java.util.Random` produces; seeding Python's own generator with the same number selects a different set, and the script would then report a different sample than the workflow it came from. `SamplingHelpers` transcribes the generator, and the three operators that draw from one emit it once per script. Split out of #8340 on review, which had grown past what one reading can hold. That change keeps the operators that work on text, and the cast transcription they share. ### Any related issues, documentation, discussions? Part of #8325; that issue lists the set in order. Closes #8505, the task this change is the whole of. ### How was this PR tested? Each operator asserts the block it emits in its own spec. The joins carry the cases a review found: a hash join whose left frame already holds the probe key's name drops the renamed right key rather than the left payload, and an interval join reads its keys off the merged frame rather than writing over an input column that happens to share a temporary's name. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
