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

Function SortChunkedArray

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

Source from the content-addressed store, hash-verified

1140}
1141
1142Result<NullPartitionResult> SortChunkedArray(ExecContext* ctx, uint64_t* indices_begin,
1143 uint64_t* indices_end,
1144 const ChunkedArray& chunked_array,
1145 SortOrder sort_order,
1146 NullPlacement null_placement) {
1147 auto physical_type = GetPhysicalType(chunked_array.type());
1148 auto physical_chunks = GetPhysicalChunks(chunked_array, physical_type);
1149 return SortChunkedArray(ctx, indices_begin, indices_end, physical_type, physical_chunks,
1150 sort_order, null_placement);
1151}
1152
1153Result<NullPartitionResult> SortChunkedArray(
1154 ExecContext* ctx, uint64_t* indices_begin, uint64_t* indices_end,

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