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

Function CountDistinctInit

cpp/src/arrow/compute/kernels/aggregate_basic.cc:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224
225template <typename Type, typename VisitorArgType>
226Result<std::unique_ptr<KernelState>> CountDistinctInit(KernelContext* ctx,
227 const KernelInitArgs& args) {
228 return std::make_unique<CountDistinctImpl<Type, VisitorArgType>>(
229 ctx->memory_pool(), static_cast<const CountOptions&>(*args.options));
230}
231
232template <typename Type, typename VisitorArgType = typename Type::c_type>
233void AddCountDistinctKernel(InputType type, ScalarAggregateFunction* func) {

Callers

nothing calls this directly

Calls 1

memory_poolMethod · 0.45

Tested by

no test coverage detected