The GitHub Actions job "Required Checks" on texera.git/main has succeeded. Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run: ca119394812c663abe925ca5450be1e4b51176e8 / Xinyuan Lin <[email protected]> test(workflow-operator): cover AVERAGE/MIN/MAX and null-aggFunction in AggregateOpSpec (#4788) ### What changes were proposed in this PR? Extend `AggregateOpSpec` (`common/workflow-operator/src/test/scala/org/apache/texera/amber/operator/aggregate/AggregateOpSpec.scala`) with the `getAggregationAttribute` cases it was missing. SUM, COUNT, and CONCAT were already covered there; this PR adds the gaps: - AVERAGE always produces DOUBLE - MIN preserves the input type - MAX preserves the input type - A null `aggFunction` raises `RuntimeException` Per review feedback on the original PR (which introduced a separate `AggregationOperationSpec`), the four cases are merged directly into `AggregateOpSpec` rather than living in their own file. ### Any related issues, documentation, discussions? Closes #4787 ### How was this PR tested? `sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.aggregate.AggregateOpSpec"` — 21/21 tests pass. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.7) --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/25283746413 With regards, GitHub Actions via GitBox
