Skip to content

Commit

Permalink
fix: available in and output
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Jun 19, 2024
1 parent a853592 commit ff4309a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/derive/src/stages/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ pub fn decompress_brotli(data: &[u8]) -> Result<Vec<u8>> {
tracing::warn!(target: "brotli", "Brotli decompression failed");
break;
}
_ => continue,
// _ => tracing::debug!(target: "batch-reader", "decompressing brotli data"),
brotli::BrotliResult::NeedsMoreInput => tracing::debug!(target: "brotli", "Brotli needs more input, output: {:?}", output.slice()),
brotli::BrotliResult::NeedsMoreOutput => {
tracing::warn!(target: "brotli", "Brotli needs more output");
break;
}
}
}
tracing::trace!(target: "brotli", "Written: {}", written);
Expand Down

0 comments on commit ff4309a

Please sign in to comment.