Anieway opened a new issue, #15052: URL: https://github.com/apache/arrow/issues/15052
### Describe the bug, including details regarding any error messages, version, and platform. I have encountered a possible bug where when reading values one at a time with the low level API of parquet reader (as done similarly in the example: [/cpp/examples/parquet/low_level_api/reader_writer.cc](https://github.com/apache/arrow/blob/d18412e07f5aad968a73e1f44bcfa0c63461211f/cpp/examples/parquet/low_level_api/reader_writer.cc)) in a row with DELTA_BINARY_PACKED encoding the results are all 0 regardless of file content. aka this `rows_read = int64_reader->ReadBatch(1, &definition_level, &repetition_level, &value, &values_read);` gives a zero value but this `rows_read = int64_reader->ReadBatch(2, nullptr, nullptr, values, &values_read);` gives the correct value. So this seems not to occur when reading bigger batch-sizes (>1). The problem might be somewhere within `DeltaBitPackDecoder<DType>::GetInternal` ### Component(s) Parquet -- 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]
