tustvold commented on code in PR #3778:
URL: https://github.com/apache/arrow-rs/pull/3778#discussion_r1120674194
##########
arrow-json/src/raw/mod.rs:
##########
@@ -481,9 +481,10 @@ mod tests {
assert_eq!(batches.len(), 1);
let list = as_list_array(batches[0].column(0).as_ref());
+ assert_eq!(list.len(), 3);
Review Comment:
This test was wrong, it was checking nulls beyond the bounds of the
NullBuffer. This was working because previously the length enforcement was at
the byte level (i.e. multiple of 8)
--
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]