mapleFU commented on PR #34668:
URL: https://github.com/apache/arrow/pull/34668#issuecomment-1478981972

   And I think you can add a test case:
   
   ```
   diff --git a/cpp/src/parquet/encoding_test.cc 
b/cpp/src/parquet/encoding_test.cc
   index 7dcee1152..31ebd4188 100644
   --- a/cpp/src/parquet/encoding_test.cc
   +++ b/cpp/src/parquet/encoding_test.cc
   @@ -1713,7 +1713,7 @@ class TestDeltaLengthByteArrayEncoding : public 
TestEncodingBase<Type> {
    
        encoder->PutSpaced(draws_, num_values_, valid_bits, valid_bits_offset);
        encode_buffer_ = encoder->FlushValues();
   -    decoder->SetData(num_values_ - null_count, encode_buffer_->data(),
   +    decoder->SetData(num_values_, encode_buffer_->data(),
   :
   ```


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