kou commented on PR #43801:
URL: https://github.com/apache/arrow/pull/43801#issuecomment-2313870664

   OK. I've changed to a pointer instead of embedding `ArrayStatistics` to 
`ArrayData`.
   But I used `std::shared_ptr` not `std::unique_ptr` because we want to export 
`ArrayStatistics` from `arrow::Array`. If we use `std::unique_ptr`, 
`arrow::Array::statistics()` also needs to return `std::unique_ptr`. It will be 
difficult to use. So I used `std::shared_ptr`.


-- 
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]

Reply via email to