aglinxinyuan opened a new issue, #6020:
URL: https://github.com/apache/texera/issues/6020

   ### Is your feature request related to a problem?
   
   Three filter/dictionary value & enum types in `common/workflow-operator` 
have no unit-test coverage, so their wire contracts, equality semantics, and 
predicate-evaluation logic 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 |
   | --- | --- |
   | `ComparisonType` | the 8 constants → wire symbols (`=`, `>`, `>=`, `<`, 
`<=`, `!=`, `is null`, `is not null`); `fromString` case-insensitive + 
unknown-symbol rejection; Jackson `@JsonValue` round-trip |
   | `MatchingType` | the 3 constants → `Scan`/`Substring`/`Conjunction`; 
Jackson round-trip |
   | `FilterPredicate` | constructor fields; `equals`/`hashCode`; Jackson 
round-trip (`condition` as its symbol); `evaluate` over numeric, string, and 
null-check conditions against a `Tuple` |
   
   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/6000.
   


-- 
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]

Reply via email to