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

Function IsNullExec

cpp/src/arrow/compute/kernels/scalar_validity.cc:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187Status IsNullExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) {
188 ArraySpan* out_span = out->array_span_mutable();
189 return SetLogicalNullBits(ctx, batch[0].array, out_span->buffers[1].data,
190 out_span->offset,
191 /*set_on_null=*/true,
192 /*nan_is_null=*/NanOptionsState::Get(ctx).nan_is_null);
193}
194
195struct IsNanOperator {
196 template <typename OutType, typename InType>

Callers

nothing calls this directly

Calls 2

SetLogicalNullBitsFunction · 0.70
GetFunction · 0.50

Tested by

no test coverage detected