EnricoMi commented on PR #51362:
URL: https://github.com/apache/arrow/pull/51362#issuecomment-5711404085

   With
   ```patch
   -      records_to_read +=
   -          
reader_->metadata()->RowGroup(row_group)->ColumnChunk(i)->num_values();
   +      records_to_read += 
reader_->metadata()->RowGroup(row_group)->num_rows();
   ```
   the encryption-related issue in method `ReadColumn` is fixed. The index `i` 
is then only used to report column information to OpenTelemetry, which used to 
be incorrect when subset of columns are read from the Parquet file.
   
   I deem fixing that as out-of-scope of this PR. I have created issue #51370.


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