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/06/22 00:45:03 UTC
[I] Add unit test coverage for Python UDF operator descriptors (PythonUDFOpDescV2, PythonUDFSourceOpDescV2, PythonTableReducerOpDesc) [texera]
aglinxinyuan opened a new issue, #5873:
URL: https://github.com/apache/texera/issues/5873
### Task Summary
Three Python-UDF operator descriptors under `common/workflow-operator/udf/python/` have no `<srcClassName>Spec.scala`. Each pins operator metadata, physical-op wiring, schema propagation, and JSON round-trip.
### Scope
| Source class | Lines | What's currently un-pinned |
| --- | --- | --- |
| `udf/python/PythonUDFOpDescV2.scala` | 211 | operatorInfo (`Python UDF`, PYTHON_GROUP, dynamic ports); getPhysicalOp wiring `OpExecWithCode(code, "python")` with the `workers` branch + `pveName` validation; schema propagation (retainInputColumns + outputColumns, collision throws); round-trip |
| `udf/python/source/PythonUDFSourceOpDescV2.scala` | 124 | operatorInfo (`1-out Python UDF`, PYTHON_GROUP, zero inputs / one output); `sourceSchema()` from the `columns` field; round-trip |
| `udf/python/PythonTableReducerOpDesc.scala` | 67 | operatorInfo (`Python Table Reducer`, PYTHON_GROUP); `getOutputSchemas` folds the `lambdaAttributeUnits` into the output schema (throws on the empty default); round-trip |
### Out of scope
No production-code changes. One `<srcClassName>Spec.scala` per source class.
### 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 Python UDF operator descriptors (PythonUDFOpDescV2, PythonUDFSourceOpDescV2, PythonTableReducerOpDesc) [texera]
Posted by "xuang7 (via GitHub)" <gi...@apache.org>.
xuang7 closed issue #5873: Add unit test coverage for Python UDF operator descriptors (PythonUDFOpDescV2, PythonUDFSourceOpDescV2, PythonTableReducerOpDesc)
URL: https://github.com/apache/texera/issues/5873
--
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
Re: [I] Add unit test coverage for Python UDF operator descriptors (PythonUDFOpDescV2, PythonUDFSourceOpDescV2, PythonTableReducerOpDesc) [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5873:
URL: https://github.com/apache/texera/issues/5873#issuecomment-4763840454
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @aglinxinyuan!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
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