(count_array: &Int64Array, idx: usize)
| 313 | /// Return 0 for null values or non-positive count. |
| 314 | #[inline] |
| 315 | fn get_count_with_validity(count_array: &Int64Array, idx: usize) -> usize { |
| 316 | if count_array.is_null(idx) { |
| 317 | 0 |
| 318 | } else { |
| 319 | let c = count_array.value(idx); |
| 320 | if c > 0 { c as usize } else { 0 } |
| 321 | } |
| 322 | } |
no test coverage detected
searching dependent graphs…