HeartSaVioR opened a new pull request, #60442:
URL: https://github.com/apache/spark/pull/60442
### What changes were proposed in this pull request?
- Remove the two empty-global-aggregation test definitions from
`StatefulStreamlineAggregationProcessorSuite` on branch-4.3.
- Remove their unused global fixture option. Keep all 14 supported processor
tests.
### Why are the changes needed?
The branch-4.3 backport of #59901 includes three calls to
`processEmptyGroupingKey()`,
but that API is absent from this branch. It was introduced separately on
master by
SPARK-59788. These calls break SQL test compilation in both SBT and Maven;
downstream
CI jobs then fail because the precompiled Spark artifact is missing.
This is a branch-4.3-only test correction, not a backport of the unrelated
global
aggregation feature. The corresponding tests remain valid on master.
### Does this PR introduce _any_ user-facing change?
No. This changes tests only; production behavior is unchanged.
### How was this patch tested?
Using JDK 17, the branch's pinned SBT 1.12.8, and Scala 2.13.18:
```sh
build/sbt \
'sql/testOnly *StatefulStreamlineAggregationProcessorSuite' \
'sql/Test/scalastyle'
```
- Before the fix, the suite command reproduced the same three missing-method
compilation errors as CI.
- After the fix: `Tests: succeeded 14, failed 0`; SQL test scalastyle
processed
1,108 files with 0 errors and 0 warnings. The combined command exited 0.
- The retained tests cover both state formats, healthy eviction/reload,
captured
write failures, flush-before-commit ordering, and HDFS abort/reopen/replay.
- `git diff --check`, ASCII, and line-length checks passed.
No new tests are needed: this removes tests for an API unavailable on this
branch
and retains the existing keyed-aggregation regression coverage. Local
dependency
repository overrides were used without changing tracked build configuration.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: OpenAI Codex CLI 0.167.0
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]