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 526f0d812 [doc] Recommend to use zstd for orc
526f0d812 is described below
commit 526f0d81235a6d3b2d01ec1b4cc857f6e5f8e928
Author: Jingsong <[email protected]>
AuthorDate: Wed Nov 22 11:12:11 2023 +0800
[doc] Recommend to use zstd for orc
---
docs/layouts/shortcodes/generated/core_configuration.html | 2 +-
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html
b/docs/layouts/shortcodes/generated/core_configuration.html
index 1450ded16..0a5b58c97 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -168,7 +168,7 @@ under the License.
<td><h5>file.compression.per.level</h5></td>
<td style="word-wrap: break-word;"></td>
<td>Map</td>
- <td>Define different compression policies for different level, you
can add the conf like this: 'file.compression.per.level' = '0:lz4,1:zlib', for
orc file format, the compression value could be NONE, ZLIB, SNAPPY, LZO, LZ4,
for parquet file format, the compression value could be UNCOMPRESSED, SNAPPY,
GZIP, LZO, BROTLI, LZ4, ZSTD.</td>
+ <td>Define different compression policies for different level, you
can add the conf like this: 'file.compression.per.level' = '0:lz4,1:zstd'.</td>
</tr>
<tr>
<td><h5>file.format</h5></td>
diff --git a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
index cbc16cc75..96e6473a2 100644
--- a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
@@ -122,9 +122,7 @@ public class CoreOptions implements Serializable {
.defaultValue(new HashMap<>())
.withDescription(
"Define different compression policies for
different level, you can add the conf like this:"
- + " 'file.compression.per.level' =
'0:lz4,1:zlib', for orc file format, the compression value "
- + "could be NONE, ZLIB, SNAPPY, LZO, LZ4,
for parquet file format, the compression value could be "
- + "UNCOMPRESSED, SNAPPY, GZIP, LZO,
BROTLI, LZ4, ZSTD.");
+ + " 'file.compression.per.level' =
'0:lz4,1:zstd'.");
public static final ConfigOption<Map<String, String>>
FILE_FORMAT_PER_LEVEL =
key("file.format.per.level")