romankarlstetter commented on code in PR #43945:
URL: https://github.com/apache/arrow/pull/43945#discussion_r1926722505
##########
cpp/src/parquet/arrow/reader.cc:
##########
@@ -485,8 +485,9 @@ class LeafReader : public ColumnReaderImpl {
NextRowGroup();
}
}
- RETURN_NOT_OK(
- TransferColumnData(record_reader_.get(), field_, descr_, ctx_->pool,
&out_));
+ RETURN_NOT_OK(TransferColumnData(record_reader_.get(),
+ input_->column_chunk_metadata(), field_,
descr_,
Review Comment:
The call to `input_->column_chunk_metadata()` fails here if the list of
`row_groups` in `input_` is empty, because `input_` is not yet initialized
properly at this point in that case
Via `row_group_metadata()` -> `RowGroup(-1)`
--
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]