We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67dae63 commit 0cf1ff6Copy full SHA for 0cf1ff6
arrow-buffer/src/buffer/boolean.rs
@@ -221,6 +221,8 @@ impl BooleanBuffer {
221
iter.chain(Some(read_u64(remainder))).map(&mut op).collect()
222
};
223
224
+ // TODO - this is not ideal as it removes the u64 aligment without reducing the allocated size
225
+ // but various operations expect the output buffer to be the number of output bits
226
vec_u64s.truncate(ceil(len_in_bits, 8));
227
228
BooleanBuffer::new(Buffer::from(vec_u64s), start_bit, len_in_bits)
0 commit comments