Skip to content

Commit

Permalink
remove unused rep level decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpassos committed Dec 12, 2024
1 parent bb82ae1 commit 01b508b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Processors/Formats/Impl/Parquet/ParquetLeafColReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,6 @@ void ParquetLeafColReader<TColumn>::initDataReader(
template <typename TColumn>
void ParquetLeafColReader<TColumn>::readPageV1(const parquet::DataPageV1 & page)
{
static parquet::LevelDecoder repetition_level_decoder;

cur_page_values = page.num_values();

// refer to: VectorizedColumnReader::readPageV1 in Spark and LevelDecoder::SetData in column_reader.cc
Expand Down Expand Up @@ -555,8 +553,6 @@ void ParquetLeafColReader<TColumn>::readPageV1(const parquet::DataPageV1 & page)
template <typename TColumn>
void ParquetLeafColReader<TColumn>::readPageV2(const parquet::DataPageV2 & page)
{
static parquet::LevelDecoder repetition_level_decoder;

cur_page_values = page.num_values();

const auto * buffer = page.data();
Expand Down

0 comments on commit 01b508b

Please sign in to comment.