From 19e61fcd2e3cd7a00e6d454bafd544b9c2bf1b53 Mon Sep 17 00:00:00 2001 From: sundyli <543950155@qq.com> Date: Sun, 31 Oct 2021 09:54:31 +0800 Subject: [PATCH] add partial cast test --- tests/it/compute/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/it/compute/cast.rs b/tests/it/compute/cast.rs index fbae8a3efa4..f0a66843572 100644 --- a/tests/it/compute/cast.rs +++ b/tests/it/compute/cast.rs @@ -179,7 +179,7 @@ fn binary_to_i32_partial() { let b = partial_cast(&array, &DataType::Int32).unwrap(); let c = b.as_any().downcast_ref::>().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); }