Class ArrayUnionAggAccumulator

java.lang.Object
dev.frostlake.functions.aggregate.ArrayUnionAggAccumulator
All Implemented Interfaces:
AggregateFunction.Accumulator

public class ArrayUnionAggAccumulator extends Object implements AggregateFunction.Accumulator
Accumulator for ArrayUnionAgg — Snowflake's MULTISET union (live-verified): every element appears with the MAXIMUM multiplicity it has in any single input array, so [2,2,2] UNION [2,2] is [2,2,2] and [5,5] alone keeps both. First-seen order; NULL / non-array inputs are skipped; an empty union renders as [].