win_multiaggr.sql 260 B

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