Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Mar 26, 2024
1 parent ca1b2bc commit ebb42c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vortex-ree/src/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub fn ree_decode_primitive<
mod test {
use vortex::array::downcast::DowncastArrayBuiltin;
use vortex::array::primitive::PrimitiveArray;
use vortex::array::IntoArray;
use vortex::array::{Array, IntoArray};
use vortex::validity::{ArrayValidity, Validity};

use crate::compress::{ree_decode, ree_encode};
Expand All @@ -179,7 +179,7 @@ mod test {
fn decode() {
let ends = PrimitiveArray::from(vec![2, 5, 10]);
let values = PrimitiveArray::from(vec![1i32, 2, 3]);
let decoded = ree_decode(&ends, &values, None, 0, 0).unwrap();
let decoded = ree_decode(&ends, &values, None, 0, 10).unwrap();

assert_eq!(
decoded.typed_data::<i32>(),
Expand Down Expand Up @@ -207,7 +207,7 @@ mod test {
arr.values().as_primitive(),
arr.validity(),
0,
0,
arr.len(),
)
.unwrap();

Expand Down

0 comments on commit ebb42c5

Please sign in to comment.