HuaHuaY opened a new issue, #50692:
URL: https://github.com/apache/arrow/issues/50692

   ### Describe the enhancement requested
   
   In `parquet.thrift`, `null_count`, `distinct_count`, and `nan_count` are 
defined as `optional i64`, so it is possible to encounter a negative value 
(whether due to an incorrect file writer implementation, file corruption, or 
other reasons). We should check for negative values. However, the Parquet 
format does not specify whether to throw an error or treat such values ​​as 
"missing" when encountered; I lean towards the latter, as it avoids blocking 
the reading of other data.
   
   ### 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