Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 83948ec

Browse files
committed
Add last_value_ init
1 parent 51965cd commit 83948ec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/parquet/encoding-internal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,8 @@ class DeltaByteArrayDecoder : public Decoder<ByteArrayType> {
921921
::arrow::MemoryPool* pool = ::arrow::default_memory_pool())
922922
: Decoder<ByteArrayType>(descr, Encoding::DELTA_BYTE_ARRAY),
923923
prefix_len_decoder_(nullptr, pool),
924-
suffix_decoder_(nullptr, pool) {}
924+
suffix_decoder_(nullptr, pool),
925+
last_value_(0, nullptr) {}
925926

926927
virtual void SetData(int num_values, const uint8_t* data, int len) {
927928
num_values_ = num_values;

0 commit comments

Comments
 (0)