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

Commit

Permalink
Add last_value_ init
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 19, 2017
1 parent 51965cd commit 83948ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parquet/encoding-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,8 @@ class DeltaByteArrayDecoder : public Decoder<ByteArrayType> {
::arrow::MemoryPool* pool = ::arrow::default_memory_pool())
: Decoder<ByteArrayType>(descr, Encoding::DELTA_BYTE_ARRAY),
prefix_len_decoder_(nullptr, pool),
suffix_decoder_(nullptr, pool) {}
suffix_decoder_(nullptr, pool),
last_value_(0, nullptr) {}

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

0 comments on commit 83948ec

Please sign in to comment.