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/19 23:38:36 UTC
[I] Add unit test coverage for row-count-shaping operator descriptors (Limit, RandomKSampling, ReservoirSampling) [texera]
aglinxinyuan opened a new issue, #5807:
URL: https://github.com/apache/texera/issues/5807
### Task Summary
Three operator descriptors that shape/reduce output row counts have no `<srcClassName>Spec.scala`. Each pins operator metadata, physical-op wiring, and JSON round-trip of its single config field; `LimitOpDesc` additionally carries a `runtimeReconfiguration` state-transfer contract.
### Scope
| Source class | Lines | What's currently un-pinned |
| --- | --- | --- |
| `limit/LimitOpDesc.scala` | 83 | operatorInfo (`Limit`, CLEANING_GROUP); polymorphic JSON round-trip (`operatorType: "Limit"`); getPhysicalOp wires `LimitOpExec`, non-parallelizable; `runtimeReconfiguration` returns `Success` with a `StateTransferFunc` |
| `randomksampling/RandomKSamplingOpDesc.scala` | 63 | operatorInfo (`Random K Sampling`, UTILITY_GROUP); `percentage` round-trip (wire-key `random k sample percentage`); getPhysicalOp wires `RandomKSamplingOpExec` |
| `reservoirsampling/ReservoirSamplingOpDesc.scala` | 63 | operatorInfo (`Reservoir Sampling`, UTILITY_GROUP); `k` round-trip; getPhysicalOp wires `ReservoirSamplingOpExec` |
### 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 row-count-shaping operator descriptors (Limit, RandomKSampling, ReservoirSampling) [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #5807: Add unit test coverage for row-count-shaping operator descriptors (Limit, RandomKSampling, ReservoirSampling)
URL: https://github.com/apache/texera/issues/5807
--
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 row-count-shaping operator descriptors (Limit, RandomKSampling, ReservoirSampling) [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5807:
URL: https://github.com/apache/texera/issues/5807#issuecomment-4755475398
<!-- 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