This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 75b9d7930 [Bug] Add the zstd to paimon-format artifact (#1503)
75b9d7930 is described below
commit 75b9d7930a1e5b1b506dbdfa4bd4d8fba50e4dc6
Author: Aitozi <[email protected]>
AuthorDate: Thu Jul 6 12:54:30 2023 +0800
[Bug] Add the zstd to paimon-format artifact (#1503)
---
paimon-format/pom.xml | 3 +++
paimon-format/src/main/resources/META-INF/NOTICE | 3 ++-
.../resources/META-INF/licenses/LICENSE.zstd-jni | 26 ++++++++++++++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/paimon-format/pom.xml b/paimon-format/pom.xml
index 1e85866ff..fdb15b379 100644
--- a/paimon-format/pom.xml
+++ b/paimon-format/pom.xml
@@ -298,6 +298,9 @@ under the License.
<include>org.apache.parquet:parquet-format-structures</include>
<include>org.apache.parquet:parquet-jackson</include>
<include>commons-pool:commons-pool</include>
+
+ <!-- compress -->
+
<include>com.github.luben:zstd-jni</include>
</includes>
</artifactSet>
<filters>
diff --git a/paimon-format/src/main/resources/META-INF/NOTICE
b/paimon-format/src/main/resources/META-INF/NOTICE
index ccc807ce4..2766f0eb6 100644
--- a/paimon-format/src/main/resources/META-INF/NOTICE
+++ b/paimon-format/src/main/resources/META-INF/NOTICE
@@ -28,6 +28,7 @@ This project bundles the following dependencies under the
Apache Software Licens
- commons-pool:commons-pool:1.6
This project bundles the following dependencies under the BSD license.
-You find it under licenses/LICENSE.protobuf.
+You find it under licenses/LICENSE.protobuf, licenses/LICENSE.zstd-jni.
- com.google.protobuf:protobuf-java:2.5.0
+- com.github.luben:zstd-jni:1.15.0-1
diff --git
a/paimon-format/src/main/resources/META-INF/licenses/LICENSE.zstd-jni
b/paimon-format/src/main/resources/META-INF/licenses/LICENSE.zstd-jni
new file mode 100644
index 000000000..66abb8ae7
--- /dev/null
+++ b/paimon-format/src/main/resources/META-INF/licenses/LICENSE.zstd-jni
@@ -0,0 +1,26 @@
+Zstd-jni: JNI bindings to Zstd Library
+
+Copyright (c) 2015-present, Luben Karavelov/ All rights reserved.
+
+BSD License
+
+Redistribution and use in source and binary forms, with or without
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
this
+ list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.