Would it be an option to use --release flag to control the release target version, and publish 2 versions of the library to Maven, 1 for JDK8 and 1 for JDK11?
Jack On Fri, Apr 21, 2023 at 5:17 PM Ryan Blue <b...@tabular.io> wrote: > Looks like Hive isn't quite done migrating to Java 11: > https://issues.apache.org/jira/browse/HIVE-22415 > > I'm not sure whether that's still a problem, but we currently don't build > Hive 3 support unless we're using Java 8. That makes me think that dropping > JDK 8 support would probably also make it a lot more difficult for Hive to > do releases based on Iceberg. Even with some of the integration moving into > the Hive project, if we started shipping JDK 11 Jars then Hive would no > longer be able to update. > > Ryan > > On Fri, Apr 21, 2023 at 5:02 PM Anton Okolnychyi > <aokolnyc...@apple.com.invalid> wrote: > >> Sorry, I wasn’t clear that I also imply dropping JDK 8 (unless there is a >> good reason to keep it?). >> >> - Anton >> >> On Apr 21, 2023, at 4:59 PM, Ryan Blue <b...@tabular.io> wrote: >> >> Would we also drop support for JDK 8? >> >> On Fri, Apr 21, 2023 at 4:58 PM Anton Okolnychyi < >> aokolnyc...@apple.com.invalid> wrote: >> >>> Following up on the discussion in the Spark 2.4 thread, shall we move to >>> JDK 11 for releases as Spark 2.4 support has been dropped? >>> >>> - Anton >> >> >> >> -- >> Ryan Blue >> Tabular >> >> >> > > -- > Ryan Blue > Tabular >