apache / apache/arrow

[C++] Add support for building statistics array for nested types

Open
#45,474 10 comments 0 reactions 1 assignee Claimed by @andishgar View on GitHub
Component: C++ Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

`arrow::RecordBatch::MakeStatisticsArray()` can build a statistics array of a record batch. But it doesn't support nested types yet. We should use the rule that is used by RecordBatch message https://arrow.apache.org/docs/format/Columnar.html#ipc-recordbatch-message to compute column indexes for nested types.

See also: https://arrow.apache.org/docs/format/StatisticsSchema.html#schema

### Component(s)

C++

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.