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

   ### What changes were proposed in this PR?
   
   Pin behavior of three previously-untested Java/R UDF descriptors in 
`common/workflow-operator/udf/`. No production-code changes.
   
   | Spec | Source class | Tests |
   | --- | --- | --- |
   | `JavaUDFOpDescSpec` | `JavaUDFOpDesc` | 6 |
   | `RUDFOpDescSpec` | `RUDFOpDesc` | 6 |
   | `RUDFSourceOpDescSpec` | `RUDFSourceOpDesc` | 6 |
   
   **Behavior pinned**
   
   | Surface | Contract |
   | --- | --- |
   | `operatorInfo` | exact name + group (`Java`/`R`); `JavaUDF`/`RUDF` dynamic 
1-in/1-out; `RUDFSource` zero inputs / one output |
   | `getPhysicalOp` | wires `OpExecWithCode` (Java tagged `"java"`); port 
identities carried; rejects `workers <= 0` |
   | Schema propagation | `JavaUDF`/`RUDF`: `retainInputColumns=false` → only 
output columns, `true` → input + output columns; `RUDFSource`: `sourceSchema()` 
from the `columns` field |
   | Round-trip | config fields preserved through the polymorphic base (incl. R 
`useTupleAPI`) |
   
   ### Any related issues, documentation, discussions?
   
   Closes #5874.
   
   ### How was this PR tested?
   
   - `sbt "WorkflowOperator/testOnly 
org.apache.texera.amber.operator.udf.java.JavaUDFOpDescSpec 
org.apache.texera.amber.operator.udf.r.RUDFOpDescSpec 
org.apache.texera.amber.operator.udf.r.RUDFSourceOpDescSpec"` — 18 tests, all 
green
   - `sbt "WorkflowOperator/Test/scalafmtCheck"` and `sbt 
"WorkflowOperator/Test/scalafix --check"` — clean
   - CI to confirm
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8 [1M context])


-- 
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