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

Method Exec

cpp/src/arrow/compute/kernels/vector_swizzle.cc:258–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 }
257
258 static Status Exec(KernelContext* ctx, const ExecSpan& span, ExecResult* result) {
259 DCHECK_EQ(span.num_values(), 1);
260 DCHECK(span[0].is_array());
261 const auto& indices = span[0].array;
262 ARROW_ASSIGN_OR_RAISE(
263 result->value, InversePermutationImpl<ThisType>::Exec(
264 ctx, indices, indices.length, indices.type->GetSharedPtr()));
265 return Status::OK();
266 }
267};
268
269template <typename Ignored, typename Type>

Callers

nothing calls this directly

Calls 4

is_arrayMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.50
OKFunction · 0.50
num_valuesMethod · 0.45

Tested by

no test coverage detected