jp0317 opened a new issue, #6215:
URL: https://github.com/apache/arrow-rs/issues/6215

   **Describe the bug**
   
   Please close if this is intended: currently the 
[null_count](https://github.com/apache/arrow-rs/blob/master/parquet/src/file/statistics.rs#L129-L130)
 in `Statistics` defaults to 0 and the 
[has_nulls(](https://github.com/apache/arrow-rs/blob/master/parquet/src/file/statistics.rs#L393)
 is based on `null_count > 0", leading to ambiguity when `null_count` equals 
`0`: either all values are non-null, or just that the null count stat is 
missing.
   
   **To Reproduce**
   n/a
   
   **Expected behavior**
   
   it feels reasonable to distinguish `no null` and `null_count not set`.
   
   **Additional context**
   n/a


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to