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

Function HashAggregateMerge

cpp/src/arrow/compute/kernels/hash_aggregate_internal.h:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70inline Status HashAggregateMerge(KernelContext* ctx, KernelState&& other,
71 const ArrayData& group_id_mapping) {
72 return checked_cast<GroupedAggregator*>(ctx->state())
73 ->Merge(checked_cast<GroupedAggregator&&>(other), group_id_mapping);
74}
75
76inline Status HashAggregateFinalize(KernelContext* ctx, Datum* out) {
77 return checked_cast<GroupedAggregator*>(ctx->state())->Finalize().Value(out);

Callers

nothing calls this directly

Calls 2

MergeMethod · 0.45
stateMethod · 0.45

Tested by

no test coverage detected