chore: remove unecessary batch check
@@ -118,10 +118,8 @@ where
while let Some(maybe_batch) = stream.next().await {
let batch = maybe_batch?;
- if batch.num_rows() != 0 {
writer.write(&batch)?;
}
- }
let meta = writer.close().map_err(CodecError::from)?;
if meta.num_rows == 0 {
