chore: remove unecessary batch check (#5620)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
f86d3e31da
commit
9d63edb299
|
|
@ -118,9 +118,7 @@ where
|
|||
|
||||
while let Some(maybe_batch) = stream.next().await {
|
||||
let batch = maybe_batch?;
|
||||
if batch.num_rows() != 0 {
|
||||
writer.write(&batch)?;
|
||||
}
|
||||
writer.write(&batch)?;
|
||||
}
|
||||
|
||||
let meta = writer.close().map_err(CodecError::from)?;
|
||||
|
|
|
|||
Loading…
Reference in New Issue