comphead commented on code in PR #7823:
URL: https://github.com/apache/datafusion-comet/pull/7823#discussion_r4778320347


##########
docs/source/about/versioning_policy.md:
##########
@@ -398,6 +400,33 @@ that Comet targets at the time of release. When the 
upstream Spark project publi
 within a supported minor (for example, `3.5.8` → `3.5.9`), the next Comet 
release will pick it
 up. Older Spark patches within the same minor are not separately supported.
 
+## Java Version Support
+
+The Java versions that Comet supports for each Spark version are listed under
+[Supported Spark 
Versions](../user-guide/latest/installation.md#supported-spark-versions) in the
+installation guide.
+
+Java versions are treated the same way as Spark versions. **Adding support for 
a new Java version
+is a minor release, and so is raising the minimum Java version.** Neither is 
by itself grounds for
+a major version bump.
+
+Removing support for a Java version takes two steps:
+
+1. **Deprecation.** An earlier Comet release announces that the Java version 
is deprecated, in its
+   release notes and in the installation guide.
+2. **Removal.** A later Comet minor release removes it. The
+   [Upgrade Guide](../user-guide/latest/migration-guide.md) entry for that 
release states the new
+   minimum Java version.
+
+For example, Comet 1.0.0 deprecated JDK 11, and Comet 1.1.0 removed it and 
requires JDK 17 or
+later.
+
+The minimum Java version follows what Comet and its dependencies require, not 
the oldest Java
+version that a supported Spark version can run on. Spark 4.x and Apache Arrow 
Java 20 both require
+JDK 17, so Comet requires JDK 17 for every Spark version it supports, 
including Spark 3.5, which
+itself still runs on Java 8 and 11. Users who cannot move to the minimum Java 
version should stay
+on an earlier Comet release until they can.

Review Comment:
   The first sentence is the rule and should stay. The rest states today's 
facts (Spark 4.x and Arrow Java 20 need JDK 17, Spark 3.5 runs on Java 8 and 
11) in a policy page that is meant to outlive them, and `installation.md` and 
`faq.md` already carry the current requirement. These sentences will be wrong 
at the next Java bump, and nothing will prompt anyone to edit them. I would 
keep the rule plus the one clarification that a supported Spark version running 
on an older Java does not keep that Java supported, and link to the 
installation guide for the current minimum.



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