Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions cpp/src/parquet/arrow/reader_internal.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -725,9 +725,7 @@ struct DecimalConverter<DecimalArrayType, ByteArrayType> {
return Status::Invalid("Invalid BYTE_ARRAY length for ", type->ToString());
}

auto out_ptr_view = reinterpret_cast<uint64_t*>(out_ptr);
out_ptr_view[0] = 0;
out_ptr_view[1] = 0;
std::memset(out_ptr, 0, type_length);

// only convert rows that are not null if there are nulls, or
// all rows, if there are not
Expand Down
Loading