MCPcopy Create free account
hub / github.com/apache/arrow / PartitionNansOnly

Function PartitionNansOnly

cpp/src/arrow/compute/kernels/vector_sort_internal.h:308–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306
307template <typename ArrayType, typename Partitioner>
308NullLikePartition PartitionNansOnly(std::span<uint64_t> indices, const ArrayType& values,
309 int64_t offset, NullPlacement null_placement) {
310 // Partition nulls at start (resp. end), and null-like values just before (resp. after)
311 NullPartition p = NullPartition::NoNulls(indices, null_placement);
312 auto q =
313 PartitionNans<ArrayType, Partitioner>(p.non_nulls, values, offset, null_placement);
314 return NullLikePartition{.non_null_like_range = q.non_null_like_range,
315 .nan_range = q.nan_range,
316 .null_range = p.nulls};
317}
318
319struct ChunkedMergeImpl {
320 using MergeFunc =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected