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

   **Which part is this question about**
   The method `parquet::file::metadata::FileMetaData::num_rows` returns `i64`. 
But intuitively, this would never be negative and should be unsigned through 
and through.
   
   Oddly enough [the 
spec](https://parquet.apache.org/docs/file-format/metadata/) also uses `i64` 
which seems wrong. This is also for other values such as `num_children`. Even 
the [thrift 
definition](https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift)
 is using signed types.
   
   Is this something fundamentally wrong, and should be changed everywhere, or 
is there a rationale to this that I'm missing?


-- 
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