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

Compact ViewArrays on IPCWrite #7185

Open
tustvold opened this issue Feb 24, 2025 · 1 comment
Open

Compact ViewArrays on IPCWrite #7185

tustvold opened this issue Feb 24, 2025 · 1 comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@tustvold
Copy link
Contributor

tustvold commented Feb 24, 2025

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

The IPC writer typically tries to avoid writing unreferenced data, e.g. re-encoding offsets for StringArray, ListArray, etc... see write_array_data.

Currently the IPC writer writes view data types as is, potentially including significant unreferenced data.

Describe the solution you'd like

I think by default the IPC writer should at least invoke the GC API, and potentially deduplicate them. We could potentially make this configurable.

Describe alternatives you've considered

Additional context

Potentially some overlap with

FYI @alamb @XiangpengHao

@tustvold tustvold added the enhancement Any new improvement worthy of a entry in the changelog label Feb 24, 2025
@alamb alamb added the arrow Changes to the arrow crate label Feb 24, 2025
@alamb
Copy link
Contributor

alamb commented Feb 24, 2025

I agree this would be a good feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

No branches or pull requests

2 participants