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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to