Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
add partial cast test
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Oct 31, 2021
1 parent c05f0a4 commit 19e61fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/it/compute/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn binary_to_i32_partial() {
let b = partial_cast(&array, &DataType::Int32).unwrap();
let c = b.as_any().downcast_ref::<PrimitiveArray<i32>>().unwrap();

let expected = &[Some(5), Some(6), Some(123), Some(0), None];
let expected = &[Some(5), Some(6), Some(123), Some(0), Some(9)];
let expected = Int32Array::from(expected);
assert_eq!(c, &expected);
}
Expand Down

0 comments on commit 19e61fc

Please sign in to comment.