This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new f5c340be34 MINOR: [C++][Parquet] Remove unused 
SerializedPageReader::current_page_ (#45125)
f5c340be34 is described below

commit f5c340be342a427b8ef10e51e9d10fc6013c5b4c
Author: Gang Wu <[email protected]>
AuthorDate: Mon Dec 30 13:09:23 2024 +0800

    MINOR: [C++][Parquet] Remove unused SerializedPageReader::current_page_ 
(#45125)
    
    ### Rationale for this change
    
    std::shared_ptr<Page> current_page_ has been defined but not used in the 
SerializedPageReader.
    
    ### What changes are included in this PR?
    
    Simply remove it.
    
    ### Are these changes tested?
    
    Pass CI.
    
    ### Are there any user-facing changes?
    
    No
    
    Authored-by: Gang Wu <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/src/parquet/column_reader.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpp/src/parquet/column_reader.cc b/cpp/src/parquet/column_reader.cc
index 3ffc6f7200..2a3bbf76d1 100644
--- a/cpp/src/parquet/column_reader.cc
+++ b/cpp/src/parquet/column_reader.cc
@@ -291,7 +291,6 @@ class SerializedPageReader : public PageReader {
   std::shared_ptr<ArrowInputStream> stream_;
 
   format::PageHeader current_page_header_;
-  std::shared_ptr<Page> current_page_;
 
   // Compression codec to use.
   std::unique_ptr<::arrow::util::Codec> decompressor_;

Reply via email to