This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 96858170d02c docs(flink): document Lance runtime dependencies (#19866)
96858170d02c is described below
commit 96858170d02cf72a83243be3db199ee888efd672
Author: Shuo Cheng <[email protected]>
AuthorDate: Thu Sep 10 16:11:22 2026 +0800
docs(flink): document Lance runtime dependencies (#19866)
* docs(flink): document Lance runtime dependencies
---
packaging/hudi-flink-bundle/README.md | 40 +++++++++++++++++++++++++++++++++++
packaging/hudi-flink-bundle/pom.xml | 14 ++++++++++++
2 files changed, 54 insertions(+)
diff --git a/packaging/hudi-flink-bundle/README.md
b/packaging/hudi-flink-bundle/README.md
new file mode 100644
index 000000000000..c702123a66fb
--- /dev/null
+++ b/packaging/hudi-flink-bundle/README.md
@@ -0,0 +1,40 @@
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+# `hudi-flink-bundle` module
+
+This module packages the Hudi Flink bundle for reading and writing Hudi tables
with Flink.
+
+## Lance dependencies
+
+The Hudi Flink bundle does not include Lance runtime dependencies. To use
Lance with Hudi,
+ensure that the Flink runtime includes the following dependencies and their
required transitive
+dependencies. Use versions compatible with the dependencies of your Hudi
version; see its
+[root POM](../../pom.xml) for the Lance and Arrow versions.
+
+- `org.lance:lance-core`
+- `org.apache.arrow:arrow-vector`
+- `org.apache.arrow:arrow-format`
+- `org.apache.arrow:arrow-memory-core`
+- `org.apache.arrow:arrow-memory-netty`
+- `org.apache.arrow:arrow-memory-netty-buffer-patch`
+- `org.apache.arrow:arrow-c-data`
+- `org.questdb:jar-jni`
+- `com.google.flatbuffers:flatbuffers-java`
+- `io.netty:netty-buffer`
+- `io.netty:netty-common`
diff --git a/packaging/hudi-flink-bundle/pom.xml
b/packaging/hudi-flink-bundle/pom.xml
index c9066c62cdd7..727ce3c11ac1 100644
--- a/packaging/hudi-flink-bundle/pom.xml
+++ b/packaging/hudi-flink-bundle/pom.xml
@@ -75,6 +75,20 @@
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
<artifactSet>
+ <!-- Lance runtime dependencies are not bundled. Before using
Lance with Flink,
+ add the following JARs and their required transitive
dependencies to Flink's lib
+ directory, using versions compatible with Hudi:
+ org.lance:lance-core
+ org.apache.arrow:arrow-vector
+ org.apache.arrow:arrow-format
+ org.apache.arrow:arrow-memory-core
+ org.apache.arrow:arrow-memory-netty
+ org.apache.arrow:arrow-memory-netty-buffer-patch
+ org.apache.arrow:arrow-c-data
+ org.questdb:jar-jni
+ com.google.flatbuffers:flatbuffers-java
+ io.netty:netty-buffer
+ io.netty:netty-common -->
<includes combine.children="append">
<include>org.apache.hudi:hudi-hadoop-common</include>
<include>org.apache.hudi:hudi-common</include>