()
| 525 | |
| 526 | #[test] |
| 527 | fn scatter_empty() -> Result<()> { |
| 528 | let truthy = Arc::new(Int32Array::from(Vec::<i32>::new())); |
| 529 | let mask = BooleanArray::from(Vec::<bool>::new()); |
| 530 | |
| 531 | let result = scatter(&mask, truthy.as_ref())?; |
| 532 | assert_eq!(result.len(), 0); |
| 533 | Ok(()) |
| 534 | } |
| 535 | |
| 536 | #[test] |
| 537 | fn scatter_primitive_with_source_nulls() -> Result<()> { |