Files
zen/core/expression/tests/data/analysis
Ivan Miletic f59f77ba35 fix(GRL-823): statistics, sketches and aggregate forms in ZEN expressions
stddev, variance, stddevPop, variancePop, skew, kurtosis, percentile,
percentileApprox (t-digest, compression 100), countDistinct (count_distinct),
countDistinctApprox (HLL p12 over xxh64 of the canonical value), distinct
(unique), topK, first, last, argMax (maxBy) and argMin (minBy).

Aggregates take a projection and an optional filter over the items, with #
or a name given with 'as': sum(items as t, t.amount, t.ok). The parser
rewrites them to map/filter closures and a null-skipping aggregate, so the
stack VM, the lane VM, intellisense and dependency analysis share one form.
Existing calls keep their behaviour: a callback form of sum, avg, min, max,
median and mode needs # or a name.
2026-11-27 10:58:01 +01:00
..