[C++] Add support for building statistics array for nested types
Open
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
Assessment
This issue has not been assessed yet.