jecsand838 commented on code in PR #8349:
URL: https://github.com/apache/arrow-rs/pull/8349#discussion_r2370664068
##########
arrow-avro/src/reader/record.rs:
##########
@@ -468,10 +508,14 @@ impl Decoder {
Self::Uuid(v) => {
v.extend([0; 16]);
}
- Self::Array(_, offsets, e) => {
+ Self::Array(_, offsets, _) => {
offsets.push_length(0);
}
- Self::Record(_, e, _) => e.iter_mut().for_each(|e|
e.append_null()),
+ Self::Record(_, e, _) => {
+ for encoding in e.iter_mut() {
+ encoding.append_null();
+ }
+ }
Review Comment:
The change is related to me changing the signature for `append_null(&mut
self) -> Result<(), ArrowError>` to help bubble up errors from the new `Union`
branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]