backendArchitect opened a new pull request, #7823:
URL: https://github.com/apache/datafusion-comet/pull/7823

   
   ## Which issue does this PR close?
   
   Closes #7816.
   
   ## Rationale for this change
   
   The versioning policy says which kind of release may add or remove a Spark 
version or a Scala
   binary version, but says nothing about Java. JDK 11 was deprecated in 1.0.0 
(#4857) and removed in
   1.1.0 (#5897), a minor release, and that precedent is not written down for 
the next bump.
   
   ## What changes are included in this PR?
   
   One file, `docs/source/about/versioning_policy.md`:
   
   - A new bullet under "Minor Releases": adding support for a Java version, or 
raising the minimum
     Java version, is a minor release.
   - A new "Java Version Support" section after "Apache Spark Version Support", 
covering the three
     points from the issue:
     - adding a Java version or raising the minimum is a minor release, never 
by itself a major one;
     - removal takes a deprecation in an earlier release (release notes and 
installation guide), then
       removal in a later minor release with an Upgrade Guide entry that states 
the new minimum, with
       JDK 11 (deprecated in 1.0.0, removed in 1.1.0) as the example;
     - the minimum follows what Comet and its dependencies require, not the 
oldest Java that a
       supported Spark version can run on, so users on Spark 3.5 with Java 8 or 
11 stay on an earlier
       Comet release.
   
   On point 3 I went with "follows what Comet and its dependencies require" and 
not "tracks the oldest
   supported Spark version", because the second would not describe today: Spark 
3.5 still runs on Java
   8 and 11, but Comet requires 17 for every Spark version. Happy to change the 
wording if you prefer
   a different rule.
   
   One detail differs from the issue text: at 1.1.0 Comet still used arrow-java 
18.3.0. The move to
   arrow-java 20, which requires JDK 17, came later in #7664. So the section 
names Spark 4.x and
   arrow-java 20 as the reasons the minimum is 17 today, without claiming 
arrow-java drove the 1.1.0
   removal (#5897 gives the reasons for that one).
   
   ## How are these changes tested?
   
   Documentation only, so no tests. I checked:
   
   - `prettier --check` (3.10.1, as in CI) passes on the changed file.
   - The `#supported-spark-versions` anchor in `installation.md` is generated by
     `myst_heading_anchors = 4`, and `faq.md` already links to it the same way.
   - The facts in the section against the repo: `java.version` 17 and 
`arrow.version` 20.0.0 in
     `pom.xml`, the JDK lines in `installation.md` and the 1.1.0 Upgrade Guide 
entry, and the 1.0.0 and
     1.1.0 changelogs (#4857, #5897).
   
   I did not run the full Sphinx build (`docs/build.sh`), which clones the 
release branches and builds
   the Spark profiles.
   


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