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

Function SortChunkedArray

cpp/src/arrow/compute/kernels/vector_sort.cc:1093–1101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091}
1092
1093Result<NullLikePartition> SortChunkedArray(ExecContext* ctx, std::span<uint64_t> indices,
1094 const ChunkedArray& chunked_array,
1095 SortOrder sort_order,
1096 NullPlacement null_placement) {
1097 auto physical_type = GetPhysicalType(chunked_array.type());
1098 auto physical_chunks = GetPhysicalChunks(chunked_array, physical_type);
1099 return SortChunkedArray(ctx, indices, physical_type, physical_chunks, sort_order,
1100 null_placement);
1101}
1102
1103Result<NullLikePartition> SortChunkedArray(ExecContext* ctx, std::span<uint64_t> indices,
1104 const std::shared_ptr<DataType>& physical_type,

Callers 2

ArraySortIndicesChunkedFunction · 0.85
SortIndicesMethod · 0.85

Calls 4

GetPhysicalTypeFunction · 0.85
GetPhysicalChunksFunction · 0.85
typeMethod · 0.45
SortMethod · 0.45

Tested by

no test coverage detected