pitrou commented on code in PR #47741:
URL: https://github.com/apache/arrow/pull/47741#discussion_r2418794626


##########
cpp/src/parquet/decoder.cc:
##########
@@ -2082,9 +2082,12 @@ class DeltaByteArrayDecoderImpl : public 
TypedDecoderImpl<DType> {
                           int64_t valid_bits_offset,
                           typename EncodingTraits<DType>::Accumulator* out,
                           int* out_num_values) {
-    std::vector<ByteArray> values(num_values);
+    std::vector<ByteArray> values(num_values - null_count);

Review Comment:
   Well, this was not a problem in itself, it was just allocating too much 
memory :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to