blob: a31c0bee9f09665e35ff6ba3fcbd0da4dc64a539 (
plain) (
blame)
1
2
3
4
5
6
|
$f = AGGREGATION_FACTORY("sum");
$g = AggregateTransformOutput($f, ($x)->(cast($x as String)));
$h = AggregateTransformOutput($f, ($x)->($x * 2));
select ListAggregate([1,2,3], $f);
select ListAggregate([1,2,3], $g);
select ListAggregate([1,2,3], $h);
|