mapleFU commented on code in PR #41117:
URL: https://github.com/apache/arrow/pull/41117#discussion_r1558972287
##########
cpp/src/arrow/io/compressed.cc:
##########
@@ -362,10 +366,12 @@ class CompressedInputStream::Impl {
}
RETURN_NOT_OK(DecompressData());
}
- if (!decompressed_ || decompressed_->size() == 0) {
- // Got nothing, need to read more compressed data
+ int64_t decompress_avail = DecompressedBufferAvailable();
Review Comment:
Oh I found this is ok, lol... `compressed_ && compressed_->size() != 0` will
likely to cleanup `decompressed_`, so actually it doesn't hit bug here
--
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]