()
| 1106 | |
| 1107 | #[test] |
| 1108 | fn test_empty_list_primitive() { |
| 1109 | let data_type = DataType::List(Arc::new(Field::new_list_field(DataType::Int32, false))); |
| 1110 | let array = new_empty_array(&data_type); |
| 1111 | let a = array.as_any().downcast_ref::<ListArray>().unwrap(); |
| 1112 | assert_eq!(a.len(), 0); |
| 1113 | assert_eq!(a.value_offsets()[0], 0i32); |
| 1114 | } |
| 1115 | |
| 1116 | #[test] |
| 1117 | fn test_null_boolean() { |
nothing calls this directly
no test coverage detected