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 11, 2024
1 parent 3144dbf commit 9669b1d
Show file tree
Hide file tree
Showing 13 changed files with 996 additions and 1,043 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 9669b1d

Please sign in to comment.