wgtmac opened a new pull request, #45285:
URL: https://github.com/apache/arrow/pull/45285

   ### Rationale for this change
   
   The level histogram of size statistics can be omitted if its max level is 0. 
We haven't implemented this yet and enforces histogram size to be equal to 
`max_level + 1`. However, when reading a Parquet file with omitted level 
histogram, exception will be thrown.
   
   ### What changes are included in this PR?
   
   Omit level histogram when max level is 0.
   
   ### Are these changes tested?
   
   Yes, a test case has been added to reflect the change.
   
   ### Are there any user-facing changes?
   
   No.


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