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

Method NullsAtEnd

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

Note that we always pass the tail-partition second. In this function _nulls_ are passed as a second argument.

Source from the content-addressed store, hash-verified

208 // Note that we always pass the tail-partition second.
209 // In this function _nulls_ are passed as a second argument.
210 static NullPartition NullsAtEnd(std::span<uint64_t> indices,
211 std::span<uint64_t> null_tail) {
212 ARROW_DCHECK_GE(null_tail.data(), indices.data());
213 ARROW_DCHECK_EQ(null_tail.data() + null_tail.size(), indices.data() + indices.size());
214 return {.non_nulls = {indices.data(), null_tail.data()}, .nulls = null_tail};
215 }
216
217 // Note that we always pass the tail-partition second.
218 // In this function the _non-nulls_ are passed as a second argument.

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected