You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/05/03 01:47:11 UTC
[I] test(workflow-operator): add unit test coverage for MapOpExec [texera]
aglinxinyuan opened a new issue, #4777:
URL: https://github.com/apache/texera/issues/4777
### Task Summary
`MapOpExec` (`common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/map/MapOpExec.scala`) wraps a user-supplied `Tuple => TupleLike` function but currently has no dedicated unit tests. Add `MapOpExecSpec` covering:
- `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`
### Priority
P3 – Low
### Task Type
- [x] Testing / QA
--
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] add unit test coverage for MapOpExec [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang closed issue #4777: add unit test coverage for MapOpExec
URL: https://github.com/apache/texera/issues/4777
--
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