emkornfield commented on a change in pull request #8290:
URL: https://github.com/apache/arrow/pull/8290#discussion_r496358278
##########
File path: cpp/src/parquet/column_reader.cc
##########
@@ -374,14 +381,10 @@ std::shared_ptr<Page> SerializedPageReader::NextPage() {
page_buffer = decryption_buffer_;
}
- // Uncompress it if we need to
- if (decompressor_ != nullptr) {
- page_buffer = DecompressPage(compressed_len, uncompressed_len,
page_buffer->data());
- }
- const PageType::type page_type = LoadEnumSafe(¤t_page_header_.type);
+ current_page_type_ = LoadEnumSafe(¤t_page_header_.type);
Review comment:
sorry, its not immediately obvious why thi sis becoming a member?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]