blob: 4d641e8a530463c7fa264254aeb23d2bdbca3d64 (
plain) (
blame)
1
2
3
4
5
6
|
/* postgres can not */
use plato;
select MULTI_AGGREGATE_BY(AsStruct(subkey as a,value as b), AGGREGATION_FACTORY("count")) over w,
MULTI_AGGREGATE_BY(AsStruct(subkey as a,value as b), AGGREGATION_FACTORY("max")) over w
from Input window w as (order by key);
|