bkietz commented on code in PR #43801:
URL: https://github.com/apache/arrow/pull/43801#discussion_r1733087728
##########
cpp/src/arrow/array/data.h:
##########
@@ -390,6 +395,9 @@ struct ARROW_EXPORT ArrayData {
// The dictionary for this Array, if any. Only used for dictionary type
std::shared_ptr<ArrayData> dictionary;
+
+ // The statistics for this Array.
+ ArrayStatistics statistics{};
Review Comment:
```suggestion
std::unique_ptr<ArrayStatistics> statistics;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]