Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[format]Set orc.compression.zstd.level to 3 by default #3114

Merged
merged 5 commits into from
Mar 29, 2024

Conversation

zyl891229
Copy link
Contributor

Set orc.compression.zstd.level to 3 by default

@JingsongLi
Copy link
Contributor

Can you update documentation too?

<td>Integer</td>
<td>Define the compression level to use with ZStandard codec while writing data. The valid range is 1~22.</td>
</tr>
<tr>
<td><h5>orc.compression.zstd.windowlog</h5></td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See OrcOptions, there is no orc.compression.zstd.windowlog.

Copy link
Contributor Author

@zyl891229 zyl891229 Mar 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See OrcOptions, there is no orc.compression.zstd.windowlog.

Paimon OrcOptions is useless at the moment.
According to org.apache.paimon.format.orc.OrcWriterFactory#getWriterOptions
org.apache.orc.OrcFile.WriterOptions convert form writerProperties direct,
and orc.compression.zstd.windowlog is support by OrcFile.WriterOptions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OrcOptions is used to generate documentation.

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 93fda44 into apache:master Mar 29, 2024
10 checks passed
zhu3pang pushed a commit to zhu3pang/incubator-paimon that referenced this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants