| 292 | |
| 293 | template <typename ArrayType, typename Partitioner> |
| 294 | NullLikePartition PartitionNullsAndNans(std::span<uint64_t> indices, |
| 295 | const ArrayType& values, int64_t offset, |
| 296 | NullPlacement null_placement) { |
| 297 | // Partition nulls at start (resp. end), and null-like values just before (resp. after) |
| 298 | NullPartition p = |
| 299 | PartitionNullsOnly<Partitioner>(indices, values, offset, null_placement); |
| 300 | auto q = |
| 301 | PartitionNans<ArrayType, Partitioner>(p.non_nulls, values, offset, null_placement); |
| 302 | return NullLikePartition{.non_null_like_range = q.non_null_like_range, |
| 303 | .nan_range = q.nan_range, |
| 304 | .null_range = p.nulls}; |
| 305 | } |
| 306 | |
| 307 | template <typename ArrayType, typename Partitioner> |
| 308 | NullLikePartition PartitionNansOnly(std::span<uint64_t> indices, const ArrayType& values, |
nothing calls this directly
no outgoing calls
no test coverage detected