Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zehiko committed Jan 15, 2025
1 parent bc1f08e commit 8969ba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/store/re_dataframe/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1644,6 +1644,7 @@ mod tests {
&query_handle.into_batch_iter().collect_vec(),
)?;
eprintln!("{dataframe}");

assert_snapshot_fixed_width!(dataframe);
}

Expand Down Expand Up @@ -1800,6 +1801,7 @@ mod tests {
&query_handle.into_batch_iter().collect_vec(),
)?;
eprintln!("{dataframe}");

assert_snapshot_fixed_width!(dataframe);
}

Expand Down
3 changes: 2 additions & 1 deletion crates/store/re_log_encoding/src/decoder/streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ impl<R: AsyncBufRead + Unpin> Stream for StreamingDecoder<R> {

// if we got back an empty buffer or there's less bytes than the file header size (for a potentially
// concatenated file), we know we're done

if buf.is_empty() {
return std::task::Poll::Ready(None);
}
// Note that message headers are smaller than the file header, but message header + message
// is always larger than the file header
if buf.len() < FileHeader::SIZE {
warn!("we have more bytes in the stream but not enough to read the file header");
return std::task::Poll::Ready(None);
Expand Down

0 comments on commit 8969ba2

Please sign in to comment.