slfan1989 opened a new issue, #2017:
URL: https://github.com/apache/auron/issues/2017

   ## Summary
   
   Add support for Spark 4.0 and Spark 4.1 to the `dev/reformat` script with 
automatic JDK and Scala version switching.
   
   ## Changes
   
   ### 1. Fix Flink Maven profile (dev/reformat:55)
   - **Before:** `-Pflink,flink-1.18`
   - **After:** `-Pflink-1.18`
   - **Reason:** Avoid activating non-existent `flink` profile
   
   ### 2. Add Spark 4.x support (dev/reformat:59-68)
   - Add `spark-4.0` and `spark-4.1` to the version sweep list
   - Auto-switch to `scala-2.13` profile for Spark 4.x (Spark 4.x requires 
Scala 2.13)
   - Auto-switch to JDK 17 for Spark 4.x (Spark 4.x requires JDK 17+)
   - Auto-switch back to JDK 8 for Spark 3.x versions
   
   ### 3. Optimize Spark 3.5 coverage (dev/reformat:52)
   - Remove `spark-3.5` from the main sweep loop
   - Keep it only in third-party build section to avoid duplicate formatting 
runs
   - Third-party dependencies (Celeborn, Uniffle, Paimon, Flink, Iceberg) are 
still formatted with Spark 3.5
   
   ### 4. Update CI workflow (.github/workflows/style.yml)
   - Add JDK 17 setup alongside existing JDK 8
   - Enable style check to work with both Spark 3.x and Spark 4.x versions
   


-- 
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]

Reply via email to