You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhangshenghang (via GitHub)" <gi...@apache.org> on 2026/06/17 14:35:27 UTC

[PR] [Fix][Transform-V2] Align Scala compiler with Spark Scala version [seatunnel]

zhangshenghang opened a new pull request, #11117:
URL: https://github.com/apache/seatunnel/pull/11117

   ### Purpose
   
   Fixes #11115.
   
   `seatunnel-scala-compiler` was pinned to Scala 2.13 while the root build and Spark translation modules use Scala 2.12. That lets Scala 2.13 compiler/reflect classes enter the transform package and can break Spark 2.12 runtime reflection with Scala signature version mismatch errors.
   
   ### Changes
   
   - Remove the local Scala 2.13 override from `seatunnel-scala-compiler` so it inherits the root Scala 2.12 version.
   - Update `ScalaClassParser` to use the Scala 2.12-compatible `IMain(Settings)` constructor instead of the Scala 2.13-only reporter implementation package.
   - Add a CI test to prevent `seatunnel-scala-compiler` from overriding the root Scala version again.
   
   ### Verification
   
   - `./mvnw spotless:apply`
   - `./mvnw -pl seatunnel-ci-tools -Dtest=ScalaCompilerVersionCheckTest -DforkCount=0 test`
   - `./mvnw -pl seatunnel-transforms-v2 -am -DskipTests verify`
   - `./mvnw -q -DskipTests verify`
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][Transform-V2] Align Scala compiler with Spark Scala version [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #11117:
URL: https://github.com/apache/seatunnel/pull/11117


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org