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

Method ArrayArray

cpp/src/arrow/compute/kernels/codegen_internal.h:819–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817 using Arg1Value = typename GetViewType<Arg1Type>::T;
818
819 static Status ArrayArray(KernelContext* ctx, const ArraySpan& arg0,
820 const ArraySpan& arg1, ExecResult* out) {
821 Status st = Status::OK();
822 ArrayIterator<Arg0Type> arg0_it(arg0);
823 ArrayIterator<Arg1Type> arg1_it(arg1);
824 RETURN_NOT_OK(
825 OutputAdapter<OutType>::Write(ctx, out->array_span_mutable(), [&]() -> OutValue {
826 return Op::template Call<OutValue, Arg0Value, Arg1Value>(ctx, arg0_it(),
827 arg1_it(), &st);
828 }));
829 return st;
830 }
831
832 static Status ArrayScalar(KernelContext* ctx, const ArraySpan& arg0, const Scalar& arg1,
833 ExecResult* out) {

Callers

nothing calls this directly

Calls 2

WriteFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected