We can't know decompressed data size when we only have compressed data. The current arrow::util::Codec::Decompress() doesn't return decompressed data size. So we can't know which data in output_buffer can be used.
FYI: arrow::util::Codec::Compress() returns compressed data size.
Reporter: Kouhei Sutou / @kou
Assignee: Kouhei Sutou / @kou
PRs and other links:
Note: This issue was originally created as ARROW-3831. Please see the migration documentation for further details.
We can't know decompressed data size when we only have compressed data. The current
arrow::util::Codec::Decompress()doesn't return decompressed data size. So we can't know which data inoutput_buffercan be used.FYI:
arrow::util::Codec::Compress()returns compressed data size.Reporter: Kouhei Sutou / @kou
Assignee: Kouhei Sutou / @kou
PRs and other links:
Note: This issue was originally created as ARROW-3831. Please see the migration documentation for further details.