Skip to content

Commit

Permalink
MINOR: [C++][Parquet] Remove unused SerializedPageReader::current_pag…
Browse files Browse the repository at this point in the history
…e_ (#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]>
  • Loading branch information
wgtmac authored Dec 30, 2024
1 parent 76fa19e commit f5c340b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cpp/src/parquet/column_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit f5c340b

Please sign in to comment.