Add Flatten helper for dictionary arrays in Go Arrow compute library

Open
#436 1 comment 0 reactions 1 assignee View on GitHub

@Mandukhai-Alimaa is already working on this.

Since Jul 18, 2025.

Assessment

This issue has not been assessed yet.

Description

good-first-issue Type: enhancement
Describe the enhancement requested

Problem:
When ingesting into databases that don’t support Arrow’s dictionary type, Go users must manually call compute.Cast on each dictionary array to strip the encoding. There’s no single “flatten” helper.

Solution:
Add a Flatten function that accepts a dictionary array and returns a non-dictionary version in one call.

Component(s)

Other

Dominant language
Assembly
Stars
406
Forks
146
Avg merge
2d 8h
Merged PRs (30d)
93

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/arrow-go

All issues in apache/arrow-go

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.