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

Function NthToIndices

cpp/src/arrow/compute/api_vector.cc:320–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318// Direct exec interface to kernels
319
320Result<std::shared_ptr<Array>> NthToIndices(const Array& values,
321 const PartitionNthOptions& options,
322 ExecContext* ctx) {
323 ARROW_ASSIGN_OR_RAISE(Datum result, CallFunction("partition_nth_indices",
324 {Datum(values)}, &options, ctx));
325 return result.make_array();
326}
327
328Result<std::shared_ptr<Array>> NthToIndices(const Array& values, int64_t n,
329 ExecContext* ctx) {

Callers 2

NthToIndicesBenchmarkFunction · 0.85

Calls 1

make_arrayMethod · 0.80

Tested by 1