Skip to content

Commit d22449b

Browse files
committed
[IcebergIO] Bump Java floor to 17 (prep for Iceberg 1.11.0)
Iceberg 1.11.0 is published as Java 17 bytecode (class file version 61); Gradle module metadata declares "org.gradle.jvm.version": 17. The current Java 11 floor on sdks/java/io/iceberg causes Iceberg 1.11.0 artifacts to fail resolution. Raise the floor independently so the version bump is a clean diff. Iceberg 1.10.0 still resolves under Java 17 (10.0 only requires Java 11+). Tracks #38925.
1 parent 9aed894 commit d22449b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
* (Python) Typehints of dataclass fields are honored during type inferences. To restore the behavior of fallback-to-any,
8383
use pipeline option `--exclude_infer_dataclass_field_type` ([#38797](https://github.com/apache/beam/issues/38797)).
8484
However fixing forward is recommended.
85+
* (Java) IcebergIO now requires Java 17 at runtime. This raises the floor in preparation for the Iceberg 1.11.0 upgrade, which is published as Java 17 bytecode. Pipelines using `Managed.read(ICEBERG)`/`Managed.write(ICEBERG)` must run on a Java 17+ JVM ([#38925](https://github.com/apache/beam/issues/38925)).
8586

8687
## Deprecations
8788

sdks/java/io/iceberg/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import java.util.stream.Collectors
2323
plugins { id 'org.apache.beam.module' }
2424
applyJavaNature(
2525
automaticModuleName: 'org.apache.beam.sdk.io.iceberg',
26-
// iceberg ended support for Java 8 in 1.7.0
27-
requireJavaVersion: JavaVersion.VERSION_11,
26+
// iceberg ended support for Java 11 in 1.11.0
27+
requireJavaVersion: JavaVersion.VERSION_17,
2828
)
2929

3030
description = "Apache Beam :: SDKs :: Java :: IO :: Iceberg"

0 commit comments

Comments
 (0)