aglinxinyuan opened a new pull request, #4778: URL: https://github.com/apache/texera/pull/4778
### What changes were proposed in this PR? Add `MapOpExecSpec` covering the function-delegating contract of `MapOpExec`: - `processTuple` emits exactly one tuple per input by applying the configured `mapFunc` - Identity behavior when `mapFunc` returns the input tuple - Output is always a single-element iterator - `setMapFunc` overwrites a previously installed function - `processTuple` throws `NullPointerException` when invoked before `setMapFunc` ### Any related issues, documentation, discussions? Closes #4777 ### How was this PR tested? `sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.map.MapOpExecSpec"` — 5/5 tests pass. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.7) -- 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]
