[Go] Replace buffer builders with utilities developed for compute kernels
Open
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
Assessment
This issue has not been assessed yet.