andygrove opened a new issue, #7816:
URL: https://github.com/apache/datafusion-comet/issues/7816

   ### What is the problem the feature request solves?
   
   The [versioning 
policy](https://github.com/apache/datafusion-comet/blob/main/docs/source/about/versioning_policy.md)
 says what kind of release may add or remove a Spark version or a Scala binary 
version, but it says nothing about JDK versions. Nothing says which kind of 
release may raise the minimum JDK, or whether a deprecation notice is required 
first.
   
   This came up with the JDK 11 removal. #4857 announced the deprecation, and 
#5897 removed support in 1.1.0, a minor release. That follows the Spark and 
Scala rules, but the policy does not say so, so the precedent is not written 
down for the next time (for example when the minimum moves from JDK 17 to 21).
   
   ### Describe the potential solution
   
   Add a "Java Version Support" section to the versioning policy, next to the 
Spark and Scala sections. For the maintainers to decide, a possible shape:
   
   - Raising the minimum JDK, or adding support for a new one, is a minor 
release and never by itself a reason for a major release.
   - Removing a JDK is announced as a deprecation in an earlier release, with 
the notice in the release notes and the user guide, and the removal is listed 
in the upgrade guide.
   - State what the minimum tracks, if anything. The JDK 11 removal landed 
after Spark 4.0 and arrow-java 20, which both require JDK 17. Spark 3.5 still 
supports JDK 8 and 11, so the policy should say what happens for users who run 
a Spark version that still supports an older JDK.
   
   ### Additional context
   
   - Spark dropped Java 8 and 11 in 4.0 (SPARK-44112).
   - arrow-java 20.0.0 raised its minimum from JDK 11 to 17 
(apache/arrow-java#1079).
   - The upgrade guide for 1.1.0 already states that Comet requires JDK 17 or 
later.
   


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

Reply via email to