aglinxinyuan opened a new pull request, #4781:
URL: https://github.com/apache/texera/pull/4781

   ### What changes were proposed in this PR?
   
   Add `IfOpExecSpec` covering the state-driven multi-port routing of 
`IfOpExec`:
   
   - `processState` routes to the true port when the condition value is `true`
   - `processState` routes to the false port when the condition value is `false`
   - `processTupleMultiPort` defaults to the true port before any state is 
observed
   - `processTupleMultiPort` reflects the most recent `processState` routing 
decision
   - `processTuple` is unimplemented (multi-port routing is required)
   
   ### Any related issues, documentation, discussions?
   
   Closes #4780
   
   ### How was this PR tested?
   
   `sbt "WorkflowOperator/testOnly 
org.apache.texera.amber.operator.ifStatement.IfOpExecSpec"` — 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]

Reply via email to