This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new d71f407ad ORC-1599: Add zstd compression level and windowlog in Java
configuration documentation
d71f407ad is described below
commit d71f407adf29f4ced08ec52a4f8ddbd45d2ad326
Author: sychen <[email protected]>
AuthorDate: Mon Jan 22 08:56:44 2024 -0800
ORC-1599: Add zstd compression level and windowlog in Java configuration
documentation
### What changes were proposed in this pull request?
Added documentation about `orc.compression.zstd.level`
`orc.compression.zstd.windowlog` configuration.
(ORC-817, ORC-1088 2.0.0)
### Why are the changes needed?
### How was this patch tested?
GA
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #1766 from cxzl25/ORC-1599.
Authored-by: sychen <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
site/_docs/core-java-config.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/site/_docs/core-java-config.md b/site/_docs/core-java-config.md
index 5b7996555..0141816c8 100644
--- a/site/_docs/core-java-config.md
+++ b/site/_docs/core-java-config.md
@@ -102,6 +102,20 @@ permalink: /docs/core-java-config.html
Define the compression strategy to use while writing data. This changes
the compression level of higher level compression codec (like ZLIB).
</td>
</tr>
+<tr>
+ <td><code>orc.compression.zstd.level</code></td>
+ <td>3</td>
+ <td>
+ Define the compression level to use with ZStandard codec while writing
data. The valid range is 1~22.
+ </td>
+</tr>
+<tr>
+ <td><code>orc.compression.zstd.windowlog</code></td>
+ <td>0</td>
+ <td>
+ Set the maximum allowed back-reference distance for ZStandard codec,
expressed as power of 2.
+ </td>
+</tr>
<tr>
<td><code>orc.block.padding.tolerance</code></td>
<td>0.05</td>