| 361 | using CType = typename T::c_type; |
| 362 | |
| 363 | Status Exec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |
| 364 | const ArraySpan& values = batch[0].array; |
| 365 | CType min, max; |
| 366 | if (ShouldUseCountMode<CType>(values, values.length - values.GetNullCount(), &min, |
| 367 | &max)) { |
| 368 | return CountModer<T>(min, max).Exec(ctx, batch, out); |
| 369 | } |
| 370 | return SortModer<T>().Exec(ctx, batch, out); |
| 371 | } |
| 372 | |
| 373 | Status ExecChunked(KernelContext* ctx, const ExecBatch& batch, Datum* out) { |
| 374 | const ChunkedArray& values = *batch[0].chunked_array(); |
nothing calls this directly
no test coverage detected