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

Function TakeExec

cpp/src/arrow/compute/kernels/vector_selection_internal.cc:956–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

954
955template <typename Impl>
956Status TakeExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) {
957 if (TakeState::Get(ctx).boundscheck) {
958 RETURN_NOT_OK(CheckIndexBounds(batch[1].array, batch[0].length()));
959 }
960 Impl kernel(ctx, batch, /*output_length=*/batch[1].length(), out);
961 return kernel.ExecTake();
962}
963
964} // namespace
965

Callers

nothing calls this directly

Calls 4

CheckIndexBoundsFunction · 0.85
ExecTakeMethod · 0.80
GetFunction · 0.50
lengthMethod · 0.45

Tested by

no test coverage detected