mapleFU commented on code in PR #36774:
URL: https://github.com/apache/arrow/pull/36774#discussion_r1269024373
##########
cpp/src/parquet/file_reader.cc:
##########
@@ -366,13 +366,19 @@ class SerializedFile : public ParquetFileReader::Contents
{
std::make_shared<::arrow::io::internal::ReadRangeCache>(source_, ctx,
options);
std::vector<::arrow::io::ReadRange> ranges;
prebuffered_column_chunks_.clear();
+ int num_cols = file_metadata_->num_columns();
+ // a bitmap for buffered columns.
+ std::shared_ptr<Buffer> buffer_columns;
+ if (!row_groups.empty()) {
Review Comment:
Oh, I see. So lets me keep this. If I found there are remain performance
issues, I will add `buffer=nullptr` check
--
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]