andishgar opened a new pull request, #46625: URL: https://github.com/apache/arrow/pull/46625
### Rationale for this change Fix the ownership management of `arrow::ArrayStatistics `within `arrow::ArrayData::ViewOrCopyTo` . ### What changes are included in this PR? Correct ownership handling of arrow::ArrayStatistics in arrow::ArrayData::ViewOrCopyTo. Add tests to verify whether arrow::ArrayData::statistics is shared or copied as expected. ### Are these changes tested? Yes, I run the relevant unit tests. ### Are there any user-facing changes? No -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org