You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/12/29 17:39:44 UTC
[GitHub] [arrow] tachyonwill commented on issue #15052: [C++][Parquet] Getting only 0 when reading DELTA_BINARY_PACKED
tachyonwill commented on issue #15052:
URL: https://github.com/apache/arrow/issues/15052#issuecomment-1367486164
I was able to reproduce. I believe the problem is https://github.com/apache/arrow/blob/463cdccdf7a1914073b29f61915018b2045bb429/cpp/src/parquet/encoding.cc#L2482
when requesting a single value at a time, `GetInternal` will never actually call `InitBlock`. Thus the only thing that will ever be written to the output is the first value from the header. The line should probably be
``
if (ARROW_PREDICT_FALSE(i == total_value_count_)) break;
``
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org