The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
4d05ab2efc73843533b763343a79e9340cd549e7 / Xinyuan Lin <[email protected]>
test(workflow-operator): add unit test coverage for filter/dictionary predicate 
types (#6000)

### What changes were proposed in this PR?

Pin behavior of three previously-untested filter/dictionary value & enum
types in `common/workflow-operator`. No production-code changes.

| Spec | Source class | Tests |
| --- | --- | --- |
| `ComparisonTypeSpec` | `ComparisonType` | 4 |
| `MatchingTypeSpec` | `MatchingType` | 2 |
| `FilterPredicateSpec` | `FilterPredicate` | 6 |

**Behavior pinned**

| Surface | Contract |
| --- | --- |
| `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` |

### Any related issues, documentation, discussions?

Part of the ongoing `workflow-operator` unit-test coverage effort.

### How was this PR tested?

- `sbt "WorkflowOperator/testOnly *ComparisonTypeSpec *MatchingTypeSpec
*FilterPredicateSpec"` — 12 tests, all green
- `sbt "WorkflowOperator/Test/scalafmtCheck"` and `sbt
"WorkflowOperator/scalafixAll --check"` — clean
- CI to confirm

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8 [1M context])

Report URL: https://github.com/apache/texera/actions/runs/28340454634

With regards,
GitHub Actions via GitBox

Reply via email to