Skip to content

Commit

Permalink
fix failed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Apr 10, 2024
1 parent 6bfac8c commit 0adf757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/arrow/io/compressed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ class CompressedInputStream::Impl {
// Decompress some data from the compressed_ buffer.
// Call this function only if the decompressed_ buffer is fully consumed.
Status DecompressData() {
DCHECK_NE(0, CompressedBufferAvailable());
// Currently, CompressedBufferAvailable() could be 0 in DecompressData().
DCHECK_NE(compressed_->data(), nullptr);
DCHECK_EQ(0, DecompressedBufferAvailable());

int64_t decompress_size = kDecompressSize;
Expand Down

0 comments on commit 0adf757

Please sign in to comment.