Skip to content

Compact ViewArrays on IPCWrite #7185

@tustvold

Description

@tustvold

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions