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

Function SortIndices

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

Source from the content-addressed store, hash-verified

337}
338
339Result<std::shared_ptr<Array>> SortIndices(const Array& values, SortOrder order,
340 ExecContext* ctx) {
341 ArraySortOptions options(order);
342 ARROW_ASSIGN_OR_RAISE(
343 Datum result, CallFunction("array_sort_indices", {Datum(values)}, &options, ctx));
344 return result.make_array();
345}
346

Callers 15

TakeRowsMethod · 0.85
CheckScannedBatchesMethod · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
TESTFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.85
BenchMethod · 0.85
BenchChunkedMethod · 0.85

Calls 1

SortKeyClass · 0.50

Tested by 6

CheckScannedBatchesMethod · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68
TESTFunction · 0.68
ARROW_ASSIGN_OR_RAISEFunction · 0.68
TYPED_TESTFunction · 0.68