The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-5877-e7eba322ca3cd7164187eae782620b4ebcd7f7a3
 has succeeded.
Run started by GitHub user xuang7 (triggered by xuang7).

Head commit for run:
e270f830be7d11a59a8357eeecec2251d642c872 / Xinyuan Lin <[email protected]>
test(workflow-operator): add unit test coverage for Java and R UDF operator 
descriptors (#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])

Report URL: https://github.com/apache/texera/actions/runs/28045752070

With regards,
GitHub Actions via GitBox

Reply via email to