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

[Java] ZstdCompressionCodec uses hard-coding compression level which cannot be configurable #34749

Closed
viirya opened this issue Mar 27, 2023 · 1 comment · Fixed by #34873
Closed

Comments

@viirya
Copy link
Member

viirya commented Mar 27, 2023

Describe the enhancement requested

ArrowFileWriter/ArrowStreamWriter add compression support for 12.0.0-dev. But ZstdCompressionCodec uses hard-coding compression level (level 3) which cannot be configurable. As ZSTD level affects compression speed and ratio, ideally we should make such parameter configurable to developers.

Component(s)

Java

@lidavidm
Copy link
Member

lidavidm commented Jun 5, 2023

@davisusanibar you need to assign yourself here

lidavidm pushed a commit that referenced this issue Jun 5, 2023
### Rationale for this change

Closes: #34749

### What changes are included in this PR?

Make compression level configurable for Zstd

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* Closes: #34749

Lead-authored-by: david dali susanibar arce <davi.sarces@gmail.com>
Co-authored-by: Gang Wu <ustcwg@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
@lidavidm lidavidm added this to the 13.0.0 milestone Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants