Skip to content

[C++][Compute] Support ChunkedArray sorting for dictionary type #38490

Open

Description

@llama90

Describe the enhancement requested

To support join operations for the DictionaryType, sorting operations of indices related to the DictionaryType in a ChunkedArray is required (This applies to ChunkedArray, RecordBatch, and Table alike).

From a data structure perspective, the support for the DictionaryType within Array and ChunkedArray, as well as between RecordBatch and Table, appeared to be similar.

For instance, based on the sorting of Array and RecordBatch, there's a need to merge the sorted data structures for ChunkedArray and Table respectively.

Sorting for the DictionaryType within Array is already supported, so sorting for ChunkedArray is needed. In this context, I've observed that sorting for the DictionaryType internally takes place based on the Rank of the dictionaries.

In any case, before supporting the DictionaryType for ChunkedArray based on the algorithm for the DictionaryType in Array, it seems necessary to pave the way. Given the similarities, this would then allow for support in RecordBatch and Table. I've created a separate issue for this.

Component(s)

C++

Activity

  1. added
    Status: stale-warning
    on Feb 18, 2026
  2. thisisnic commented on Feb 18, 2026

    @thisisnic
    Member

    This issue has been marked as stale because it has had no activity in the past 2 years. Please remove the stale label or comment below, or this issue will be closed in 14 days.

  3. removed
    Status: stale-warning
    on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions