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

Function GroupedOneInit

cpp/src/arrow/compute/kernels/hash_aggregate.cc:1786–1792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1784
1785template <typename T>
1786Result<std::unique_ptr<KernelState>> GroupedOneInit(KernelContext* ctx,
1787 const KernelInitArgs& args) {
1788 ARROW_ASSIGN_OR_RAISE(auto impl, HashAggregateInit<GroupedOneImpl<T>>(ctx, args));
1789 auto instance = static_cast<GroupedOneImpl<T>*>(impl.get());
1790 instance->out_type_ = args.inputs[0].GetSharedPtr();
1791 return impl;
1792}
1793
1794struct GroupedOneFactory {
1795 template <typename T>

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected