Skip to content

Commit 40c7e34

Browse files
committed
Address PR Comments
1 parent 3529d0f commit 40c7e34

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arrow-avro/src/reader/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,8 @@ impl Decoder {
192192
total_consumed += n;
193193
self.awaiting_body = false;
194194
}
195-
Ok(_) => {
196-
return Err(ArrowError::ParseError(
197-
"Record decoder consumed 0 bytes".into(),
198-
));
199-
}
200195
Err(ref e) if is_incomplete_data(&e) => return Ok(total_consumed),
201196
err => return err,
202-
}
203197
}
204198
}
205199
Ok(total_consumed)

0 commit comments

Comments
 (0)