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

Function FSLTakeExec

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

Source from the content-addressed store, hash-verified

989}
990
991Status FSLTakeExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) {
992 const ArraySpan& values = batch[0].array;
993
994 // If a FixedSizeList wraps a fixed-width type we can, in some cases, use
995 // FixedWidthTakeExec for a fixed-size list array.
996 if (util::IsFixedWidthLike(values,
997 /*force_null_count=*/true,
998 /*exclude_bool_and_dictionary=*/true)) {
999 return FixedWidthTakeExec(ctx, batch, out);
1000 }
1001 return TakeExec<FSLSelectionImpl>(ctx, batch, out);
1002}
1003
1004Status DenseUnionTakeExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) {
1005 return TakeExec<DenseUnionSelectionImpl>(ctx, batch, out);

Callers

nothing calls this directly

Calls 2

FixedWidthTakeExecFunction · 0.85
IsFixedWidthLikeFunction · 0.50

Tested by

no test coverage detected