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

   ### Rationale for this change
   
   Loading `arrow::ArrayStatistics` logic depends on 
`parquet::ColumnChunkMetaData`. We can't get `parquet::ColumnChunkMetaData` 
when requested row groups are empty because no associated row group and column 
chunk exist.
   
   ### What changes are included in this PR?
   
   Don't run `arrow::ArrayStatistics` loading logic when requested row groups 
are empty. In the case, we don't need to return no data. So we can omit all 
load related logic.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Yes.


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