Skip to content

Replace Custom Buffer Implementation with Bytes in Parquet #1474

@tustvold

Description

@tustvold

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

The parquet crate currently rolls its own ByteBufferPtr, BufferPtr, Buffer, etc... and this feels like functionality that could be provided by an upstream crate.

Describe the solution you'd like

The bytes crate has wide ecosystem adoption and supports most of the necessary functionality. It does not support memory tracking, but I'm not sure this is being used given the util::memory module was made experimental and therefore not public in #1134 and there hasn't been any wailing nor gnashing of teeth resulting from this.

Describe alternatives you've considered

Continue to use custom buffer abstractions.

Tagging @sunchao as I believe he added this code all the way back in 2018 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny 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