Skip to content

Commit

Permalink
refactor(parquet): Move arrow RleEncodingInternal to common
Browse files Browse the repository at this point in the history
  • Loading branch information
wypb committed Dec 12, 2024
1 parent b44ffc9 commit bdfe824
Show file tree
Hide file tree
Showing 13 changed files with 996 additions and 1,049 deletions.
4 changes: 2 additions & 2 deletions velox/dwio/common/tests/BitPackDecoderBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "velox/common/base/BitUtil.h"
#include "velox/common/base/Exceptions.h"
#include "velox/dwio/common/BitPackDecoder.h"
#include "velox/dwio/parquet/writer/arrow/util/BitStreamUtilsInternal.h"
#include "velox/dwio/parquet/common/BitStreamUtilsInternal.h"

#ifdef __BMI2__
#include "velox/dwio/common/tests/Lemire/bmipacking32.h"
Expand Down Expand Up @@ -307,7 +307,7 @@ void lemirebmi2(uint8_t bitWidth, uint32_t* result) {

template <typename T>
void arrowBitUnpack(uint8_t bitWidth, T* result) {
facebook::velox::parquet::arrow::bit_util::BitReader bitReader(
facebook::velox::parquet::BitReader bitReader(
reinterpret_cast<const uint8_t*>(bitPackedData[bitWidth].data()),
BYTES(kNumValues, bitWidth));
bitReader.GetBatch<T>(bitWidth, result, kNumValues);
Expand Down
Loading

0 comments on commit bdfe824

Please sign in to comment.