win_multiaggr_tuple.sql 238 B

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