rok commented on code in PR #47183: URL: https://github.com/apache/arrow/pull/47183#discussion_r2239433276
########## python/pyarrow/tests/parquet/test_parquet_file.py: ########## @@ -348,6 +348,7 @@ def test_read_statistics(): statistics = pq.ParquetFile(buf).read().columns[0].chunks[0].statistics assert statistics.null_count == 1 assert statistics.distinct_count is None + assert statistics.is_distinct_count_exact is False Review Comment: I'm not sure the current Python API makes a test for this easy or not, but it would be nice if codepaths for `is_distinct_count_exact` == `None` and `True` were tested too. -- 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