apache / apache/arrow-go

[Go] Replace buffer builders with utilities developed for compute kernels

Open
#43 0 comments 1 reaction 0 assignees View on GitHub
Type: enhancement
Dominant language
Assembly
Stars
404
Forks
145
Avg merge
2d 4h
Merged PRs (30d)
87

Description

### Describe the enhancement requested

Replace `bufBuilder` and `bufferBuilder` with the utilities (by moving them) used by compute kernels [1].

The existing builders have confusing APIs and don't take advantage of Go generics like [1] does.

The list and list-view builders should use these buffer builders directly instead of using numeric *array* builders to build their numeric buffers.

[1] https://github.com/apache/arrow/blob/main/go/arrow/compute/internal/kernels/helpers.go#L886

### Component(s)

Go

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.