sfc-gh-ebrossard opened a new pull request, #37016: URL: https://github.com/apache/arrow/pull/37016
### Rationale for this change Statistics merging is unnecessarily conservative with respect to preserving distinct counts. If either side is 0, the merge stats can preserve the distinct count, instead of clearing it. ### What changes are included in this PR? Distinct count is preserved if either the lhs or rhs has a distinct count of 0 when merging stats. ### Are these changes tested? Yes, added a unit test. ### Are there any user-facing changes? I don't think this change to stats is considered to be user-facing. -- 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]
