Skip to content

Implement Array Builder for RunEndEncodedArray #407

Description

@Abhilash437

Currently, the RunEndEncodedArray type in Apache.Arrow.Arrays lacks an implementation for IArrowArrayBuilder.

Run-End Encoded arrays are widely used for compressing sequences of repeated values, but users currently have no easy way to build them programmatically in C#. We should add a RunEndEncodedArray.Builder class that handles the implicit tracking of run-lengths (using an EqualityComparer) and routes the compressed data to the underlying child arrays for the run-ends and values.

This will bring the C# implementation up to parity with the Arrow specification for constructing REE arrays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions