rok commented on code in PR #14293:
URL: https://github.com/apache/arrow/pull/14293#discussion_r1090614200


##########
cpp/src/parquet/encoding.cc:
##########
@@ -2664,6 +2793,41 @@ class DeltaLengthByteArrayDecoder : public DecoderImpl,
     num_valid_values_ = num_length;
   }
 
+  Status DecodeArrowDense(int num_values, int null_count, const uint8_t* 
valid_bits,
+                          int64_t valid_bits_offset,
+                          typename EncodingTraits<ByteArrayType>::Accumulator* 
out,
+                          int* out_num_values) {
+    ArrowBinaryHelper helper(out);
+
+    std::vector<ByteArray> values(num_values - null_count);
+    const int num_valid_values = Decode(values.data(), num_values - 
null_count);
+    DCHECK_EQ(num_values - null_count, num_valid_values);

Review Comment:
   Done.



-- 
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