Chen-Yuan-Lai commented on code in PR #7013:
URL: https://github.com/apache/arrow-rs/pull/7013#discussion_r1930428554
##########
arrow-buffer/src/builder/null.rs:
##########
@@ -221,6 +250,7 @@ mod tests {
builder.append_n_nulls(2);
builder.append_n_non_nulls(2);
assert_eq!(6, builder.len());
+ assert_eq!(512, builder.allocated_size());
Review Comment:
Since we removed `capacity()`, I think assertions for
`builder.allocated_size()` can also be removed in the
`test_null_buffer_builder_truncate` test.
--
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]