kou opened a new issue, #43797:
URL: https://github.com/apache/arrow/issues/43797

   ### Describe the enhancement requested
   
   This is another approach of GH-43666.
   
   GH-41909 introduced `arrow::ArrayStatitstics` but it's not associated with 
`arrow::Array`.
   
   This issue attaches `arrow::ArrayStatistics` to `arrow::ArrayData`.
   
   There was a concern that associated `arrow::ArrayStatistics` may be outdated 
if `arrow::ArrayData` is mutated after attaching `arrow::ArrayStatistics`. But 
`arrow::ArrayData` isn't mutable after the first population. So 
`arrow::ArrayStatistics` will not be outdated. We can require mutators to take 
responsibility for statistics.
   
   See also: Discussion at 
https://github.com/apache/arrow/pull/43705#issuecomment-2302096692
   
   
   ### Component(s)
   
   C++


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to