aglinxinyuan opened a new issue, #5829:
URL: https://github.com/apache/texera/issues/5829
### Task Summary
Three core operator-metadata types have no `<srcClassName>Spec.scala`. These
are the data/trait types every `LogicalOp` relies on for its port wiring and
metadata.
### Scope
| Source class | Lines | What's currently un-pinned |
| --- | --- | --- |
| `metadata/OperatorMetadataGenerator.scala` (`OperatorInfo` case class) | —
| field exposure; the four Boolean flags default to false;
`OperatorInfo.forVisualization` factory (single input `disallowMultiLinks =
true`, single `SINGLE_SNAPSHOT` output); case-class equality |
| `PortDescriptor.scala` (`PortDescription` case class) | 43 | field
exposure; `dependencies` default `List.empty`; `copy`/equality;
`@JsonIgnoreProperties("allowMultiInputs")` backward-compat (legacy key ignored
on deserialize) |
| `PortDescriptor.scala` (`PortDescriptor` trait) | 43 |
`inputPorts`/`outputPorts` default to `null` (not empty) and are reassignable |
### Out of scope
No production-code changes. One `<srcClassName>Spec.scala` per source class
(`OperatorInfoSpec`, `PortDescriptionSpec`, `PortDescriptorSpec`). The impure
`OperatorMetadataGenerator` object (eager reflective registry init) is
explicitly not tested.
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]