bkietz commented on PR #43705: URL: https://github.com/apache/arrow/pull/43705#issuecomment-2302923958
> ArrayData is mutable: no, it isn't, except when first populating it. This is correct; ArrayData isn't really mutable. It would be really rare for anything to set up statistics before an ArrayData was finalized. So it is probably acceptable to give mutators responsibility for statistics. > Another question is the cost of adding a statistics structure So long as it is encapsulated in a pointer, the cost of constructing or copying an ArrayData (especially in the common case where no statistics are attached) should be minimal? Or maybe you're referring to a different cost? -- 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