We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545ee25 commit d7908bdCopy full SHA for d7908bd
rust/arrow/src/compute/arithmetic_kernels.rs
@@ -126,15 +126,15 @@ mod tests {
126
);
127
}
128
129
-// #[test]
130
-// fn test_primitive_array_add_with_nulls() {
131
-// let a = Int32Array::from(vec![Some(5), None, Some(7), None]);
132
-// let b = Int32Array::from(vec![None, None, Some(6), Some(7)]);
133
-// let c = add(&a, &b).unwrap();
134
-// assert_eq!(true, c.is_null(0));
135
-// assert_eq!(true, c.is_null(1));
136
-// assert_eq!(false, c.is_null(2));
137
-// assert_eq!(true, c.is_null(3));
138
-// assert_eq!(13, c.value(2));
139
-// }
+ #[test]
+ fn test_primitive_array_add_with_nulls() {
+ let a = Int32Array::from(vec![Some(5), None, Some(7), None]);
+ let b = Int32Array::from(vec![None, None, Some(6), Some(7)]);
+ let c = add(&a, &b).unwrap();
+ assert_eq!(true, c.is_null(0));
+ assert_eq!(true, c.is_null(1));
+ assert_eq!(false, c.is_null(2));
+ assert_eq!(true, c.is_null(3));
+ assert_eq!(13, c.value(2));
+ }
140
0 commit comments