Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions encodings/pco/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn test_validity_and_multiple_chunks_and_pages() {
validity[7..15].fill(false);
validity[101] = false;
let array = PrimitiveArray::new(
data.iter().cloned().collect::<Buffer<_>>(),
Buffer::from(data),
Validity::Array(BoolArray::from_iter(validity).to_array()),
);
let compression_level = 3;
Expand Down Expand Up @@ -128,7 +128,7 @@ fn test_validity_vtable() {
let data: Vec<i32> = (0..5).collect();
let mask_bools = vec![false, true, true, false, true];
let array = PrimitiveArray::new(
data.iter().cloned().collect::<Buffer<_>>(),
Buffer::from(data),
Validity::Array(BoolArray::from_iter(mask_bools.clone()).to_array()),
);
let compressed = PcoArray::from_primitive(&array, 3, 0).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion encodings/zigzag/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl ZigZagVTable {

impl ZigZagArray {
pub fn new(encoded: ArrayRef) -> Self {
Self::try_new(encoded).vortex_expect("ZigZigArray new")
Self::try_new(encoded).vortex_expect("ZigZagArray new")
}

pub fn try_new(encoded: ArrayRef) -> VortexResult<Self> {
Expand Down
2 changes: 1 addition & 1 deletion encodings/zstd/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn test_zstd_with_validity_and_multi_frame() {
validity[3] = true;
validity[177] = true;
let array = PrimitiveArray::new(
data.iter().cloned().collect::<Buffer<_>>(),
Buffer::from(data),
Validity::Array(BoolArray::from_iter(validity).to_array()),
);

Expand Down
Loading