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

Removed compression from WriteOptions #125

Merged

Conversation

kornholi
Copy link
Contributor

This removes the explicit compression setting in WriteOptions.

It was somewhat confusing as the pages still needed to be appropriately
compressed, and limiting as it forced the same value for the whole file.

Let me know if I missed the motivation behind this field!

This removes the explicit compression setting in `WriteOptions`.

It was somewhat confusing as the pages still needed to be appropriately
compressed, and limiting as it forced the same value for the whole file.
@jorgecarleitao
Copy link
Owner

This is awesome!

I will just try to apply on arrow2 to check that it makes sense in one dependency but imo this looks great!

@jorgecarleitao
Copy link
Owner

jorgecarleitao commented Apr 14, 2022

While porting the code I noticed that we compute the row-group statistics based on the page statistics. Thus, I think that write_statistics may also not be needed - we infer that from the page spec

@jorgecarleitao jorgecarleitao merged commit e32fce0 into jorgecarleitao:main Apr 14, 2022
@jorgecarleitao jorgecarleitao changed the title Auto-detect page compression Removed "compression" from WriteOptions Apr 14, 2022
@jorgecarleitao jorgecarleitao changed the title Removed "compression" from WriteOptions Removed compression from WriteOptions Apr 14, 2022
@kornholi kornholi deleted the autodetect-page-compression branch April 14, 2022 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants