tcrasset opened a new issue, #38877: URL: https://github.com/apache/arrow/issues/38877
### Describe the enhancement requested As far as I can tell, from reading the related pull requests #37016 and #35989, the current implementation can't compute distinct counts as it cannot know if a distinct value in one `ColumnChunkMetadData` has already appeared in another chunk. The chunks would need some kind of way to know which distinct values it already encountered, so that it would not count them multiple times. I'm opening this issue to discuss if implementing this feature is at all possible, and if it is, to see how it could be done. If successful, I'd be available to write the implementation. ### 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