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

Compress in-memory shuffled record batches #169

Closed
richox opened this issue Jun 10, 2022 · 0 comments · Fixed by #171
Closed

Compress in-memory shuffled record batches #169

richox opened this issue Jun 10, 2022 · 0 comments · Fixed by #171
Labels
enhancement New feature or request

Comments

@richox
Copy link
Collaborator

richox commented Jun 10, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

currently, shuffle writer keeps record batches uncompressed until they are spilled or flushed to next stage. if we compress them before spilling, we can reduce memory usage and the amount of spilled data.

Describe the solution you'd like

when a record batch is finished, instead of buffering it into a Vec<RecordBatch>, we compress it into aVec[u8] which is later spilled or flushed.

Describe alternatives you've considered

Additional context

@richox richox added the enhancement New feature or request label Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant