sfc-gh-ebrossard opened a new issue, #37014:
URL: https://github.com/apache/arrow/issues/37014

   ### Describe the enhancement requested
   
   
https://github.com/apache/arrow/blob/710f96069f9f036338a0dd99202f0486bb7d1984/cpp/src/parquet/statistics.cc#L565
 is more conservative than necessary. While in general we can't preserve 
distinct counts, since we don't know the set of overlapping values, we can 
preserve distinct counts if either `this` or `other` has a distinct count of 0.
   
   I'm preparing a PR, assuming this sounds reasonable to fix.
   
   ### Component(s)
   
   C++, Parquet


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