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

Method ExecChunked

cpp/src/arrow/compute/kernels/aggregate_mode.cc:373–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 }
372
373 Status ExecChunked(KernelContext* ctx, const ExecBatch& batch, Datum* out) {
374 const ChunkedArray& values = *batch[0].chunked_array();
375 CType min, max;
376 if (ShouldUseCountMode<CType>(values, values.length() - values.null_count(), &min,
377 &max)) {
378 return CountModer<T>(min, max).ExecChunked(ctx, batch, out);
379 }
380 return SortModer<T>().ExecChunked(ctx, batch, out);
381 }
382};
383
384template <typename InType, typename Enable = void>

Callers

nothing calls this directly

Calls 4

chunked_arrayMethod · 0.80
lengthMethod · 0.45
null_countMethod · 0.45
ExecChunkedMethod · 0.45

Tested by

no test coverage detected