LuciferYang opened a new pull request, #12548:
URL: https://github.com/apache/gluten/pull/12548
### What changes were proposed in this pull request?
Follow-up to #12525 / #12541 / #12543. Now that Gluten no longer supports
Spark 3.2, the TPC-H golden plans for Spark 3.2 are dead test fixtures.
- `backends-velox/.../VeloxTPCHSuite.scala`: drop the `case "32" => true`
branch in `shouldCheckGoldenFiles`. `formatSparkVersion` is derived from
`spark.version.substring(0, 2)` and can never be `"32"` on any supported
profile (Spark 3.3+), so the branch is unreachable.
-
`backends-velox/src/test/resources/tpch-approved-plan/{v1,v1-bhj,v1-ras,v1-bhj-ras}/spark32/`:
remove all four `spark32/` subdirectories and their 84 golden `.txt` files.
They were only loaded via
`tpch-approved-plan/${subType()}/spark$formatSparkVersion/$id.txt` when the
pruned branch matched.
The `spark33` / `spark34` / `spark35` case branches and golden plan
directories are kept as-is. No behavior change on any supported Spark version.
### How was this patch tested?
- `./build/mvn -Pbackends-velox -Pspark-3.5 -pl backends-velox -am
test-compile -DskipTests`: SUCCESS
- `./dev/format-scala-code.sh`: no additional diff
- Repo-wide `grep -r "tpch-approved-plan|spark32"` confirms
`VeloxTPCHSuite.scala` is the only Scala/Java caller and the only remaining
references to `spark32` outside this diff are catalogued for follow-up cleanup
(`dev/*.sh`, `LICENSE`, `package/pom.xml`), which are intentionally out of
scope for this test-infrastructure PR.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude claude-opus-4-7
--
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]