aglinxinyuan opened a new issue, #6019: URL: https://github.com/apache/texera/issues/6019
### Is your feature request related to a problem? Three attribute-transform value classes in `common/workflow-operator` have no unit-test coverage, so their field contracts, equality semantics, and Jackson serialization are unpinned and could silently regress. ### Describe the solution you'd like Add `*Spec` test coverage pinning the behavior of: | Source class | Contract to pin | | --- | --- | | `AttributeUnit` | `getAlias` falls back to the original attribute when the alias is blank/null; `equals`/`hashCode`; Jackson round-trip | | `TypeCastingUnit` | `attribute`/`resultType` fields; Jackson round-trip (no `equals` override, so fields are asserted directly) | | `LambdaAttributeUnit` | constructor fields; `equals`/`hashCode` over all four fields; Jackson round-trip | No production-code changes expected. ### Additional context Part of the ongoing `workflow-operator` unit-test coverage effort. Addressed by https://github.com/apache/texera/pull/6001. -- 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]
