Skip to content

chore: move CometCollationSuite to spark-4.1+ test shim#4864

Open
0lai0 wants to merge 1 commit into
apache:mainfrom
0lai0:chore-4770-comet-collation-suite-4.1+
Open

chore: move CometCollationSuite to spark-4.1+ test shim#4864
0lai0 wants to merge 1 commit into
apache:mainfrom
0lai0:chore-4770-comet-collation-suite-4.1+

Conversation

@0lai0

@0lai0 0lai0 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #4770

Rationale for this change

CometCollationSuite currently lives in the spark-4.1 test shim, but the same tests apply to Spark 4.2+. Moving it to spark-4.1+ and enabling that test shim avoids duplicating the suite per Spark minor version.

What changes are included in this PR?

  • spark/pom.xml: add src/test/${shims.minorPlusVerSrc} to the add-test-source execution so the spark-4.1+ test shim is compiled.
  • Move CometCollationSuite.scala from spark/src/test/spark-4.1/ to spark/src/test/spark-4.1+/ (content unchanged).

How are these changes tested?

./mvnw test -Pspark-4.1 -Dtest=none -Dsuites=org.apache.spark.sql.CometCollationSuite
./mvnw compile test-compile -Pspark-4.2 -DskipTests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move CometCollationSuite into the spark-4.1+ test shim to avoid per-version duplication

1 participant