Commits


Sutou Kouhei authored and GitHub committed d748acee35e
GH-44010: [C++] Add `arrow::RecordBatch::MakeStatisticsArray()` (#44252) ### Rationale for this change Statistics schema for Arrow C data interface (GH-43553) is complex because it uses nested types (struct, map and union). So reusable implementation to make statistics array is useful. ### What changes are included in this PR? `arrow::RecordBatch::MakeStatisticsArray()` is a convenient function that converts `arrow::ArrayStatistics` in a `arrow::RecordBatch` to `arrow::Array` for the Arrow C data interface. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * GitHub Issue: #44010 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>