tustvold opened a new issue, #2016: URL: https://github.com/apache/arrow-rs/issues/2016
**Describe the bug** Calling write_batch_with_statistics twice with a non-zero distinct count will compute the sum of the distinct counts. In most cases this will be incorrect. Similarly calling write_batch having called write_batch_with_statistics will not clear the distinct count. **To Reproduce** Inspect code **Expected behavior** We should only set distinct count when it is known **Additional context** #2015 -- 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]
