From 184e8906ba6baa9e77d81ebb3a6c8caf69c03930 Mon Sep 17 00:00:00 2001 From: "zhengyunhong.zyh" Date: Thu, 21 May 2026 14:09:33 +0800 Subject: [PATCH 1/2] [arrow] Bump Arrow Java to 19.0.0 and upgrade CI to Java 11 Arrow 19.0.0 requires Java 11+. This adds a new fluss-shaded-arrow-19 module and updates the CI and release enforcer to use Java 11. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 4 +- .../fluss-shaded-arrow-19/pom.xml | 96 +++++++++++++++++++ .../src/main/resources/META-INF/NOTICE | 14 +++ fluss-shaded-arrow-parent/pom.xml | 1 + pom.xml | 2 +- 5 files changed, 114 insertions(+), 3 deletions(-) create mode 100644 fluss-shaded-arrow-parent/fluss-shaded-arrow-19/pom.xml create mode 100644 fluss-shaded-arrow-parent/fluss-shaded-arrow-19/src/main/resources/META-INF/NOTICE diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0092caa..38dbb9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: Java 8 Build +name: Java 11 Build on: [push, pull_request] @@ -31,7 +31,7 @@ jobs: - name: Set JDK uses: actions/setup-java@v2 with: - java-version: 8 + java-version: 11 distribution: 'temurin' - name: Set Maven 3.8.6 diff --git a/fluss-shaded-arrow-parent/fluss-shaded-arrow-19/pom.xml b/fluss-shaded-arrow-parent/fluss-shaded-arrow-19/pom.xml new file mode 100644 index 0000000..7a114b4 --- /dev/null +++ b/fluss-shaded-arrow-parent/fluss-shaded-arrow-19/pom.xml @@ -0,0 +1,96 @@ + + + + 4.0.0 + + + org.apache.fluss + fluss-shaded-arrow-parent + 2.0-incubating + + + fluss-shaded-arrow${fluss.ci.license.suffix} + fluss-shaded-arrow-19 + ${arrow.version}-2.0-incubating + + jar + + + + 19.0.0 + + + + + org.apache.arrow + arrow-vector + ${arrow.version} + + + commons-codec + commons-codec + + + io.netty + netty-common + + + org.slf4j + slf4j-api + + + com.google.code.findbugs + jsr305 + + + + + + org.apache.arrow + arrow-memory-netty + ${arrow.version} + + + io.netty + netty-common + + + io.netty + netty-buffer + + + org.slf4j + slf4j-api + + + + + + + + license-check + + -19 + + + + + diff --git a/fluss-shaded-arrow-parent/fluss-shaded-arrow-19/src/main/resources/META-INF/NOTICE b/fluss-shaded-arrow-parent/fluss-shaded-arrow-19/src/main/resources/META-INF/NOTICE new file mode 100644 index 0000000..ceb1160 --- /dev/null +++ b/fluss-shaded-arrow-parent/fluss-shaded-arrow-19/src/main/resources/META-INF/NOTICE @@ -0,0 +1,14 @@ +fluss-shaded-arrow-19 +Copyright 2025 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +- org.apache.arrow:arrow-vector:19.0.0 +- org.apache.arrow:arrow-format:19.0.0 +- org.apache.arrow:arrow-memory-core:19.0.0 +- org.apache.arrow:arrow-memory-netty:19.0.0 +- org.apache.arrow:arrow-memory-netty-buffer-patch:19.0.0 +- com.google.flatbuffers:flatbuffers-java:25.2.10 diff --git a/fluss-shaded-arrow-parent/pom.xml b/fluss-shaded-arrow-parent/pom.xml index 0a401e1..edf3451 100644 --- a/fluss-shaded-arrow-parent/pom.xml +++ b/fluss-shaded-arrow-parent/pom.xml @@ -34,6 +34,7 @@ fluss-shaded-arrow-15 fluss-shaded-arrow-16 + fluss-shaded-arrow-19 diff --git a/pom.xml b/pom.xml index 38472ef..29ba75e 100644 --- a/pom.xml +++ b/pom.xml @@ -114,7 +114,7 @@ - 1.8.0 + 11 org.eclipse.collections.impl.map.mutable.primitive.IntObjectHashMap + + org.apache.parquet:* @@ -88,6 +90,15 @@ com.fasterxml.jackson ${shading.prefix}.jackson2.com.fasterxml.jackson + + org.apache.parquet + ${shading.prefix}.arrow.org.apache.parquet + + + + shaded.parquet + ${shading.prefix}.arrow.shaded.parquet +