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.
Currently, the
RunEndEncodedArraytype inApache.Arrow.Arrayslacks an implementation forIArrowArrayBuilder.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.Builderclass that handles the implicit tracking of run-lengths (using anEqualityComparer) 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.