| 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 | |
| 384 | template <typename InType, typename Enable = void> |
nothing calls this directly
no test coverage detected