()
| 2356 | #[test] |
| 2357 | #[should_panic(expected = "PrimitiveArray expected data type Int64 got Int32")] |
| 2358 | fn test_from_array_data_validation() { |
| 2359 | let foo = PrimitiveArray::<Int32Type>::from_iter([1, 2, 3]); |
| 2360 | let _ = PrimitiveArray::<Int64Type>::from(foo.into_data()); |
| 2361 | } |
| 2362 | |
| 2363 | #[test] |
| 2364 | fn test_decimal32() { |