CREATE AGGREGATION POLICY my_agg_policy AS () RETURNS AGGREGATION_CONSTRAINT -> AGGREGATION_CONSTRAINT(MIN_GROUP_SIZE => 5); ALTER TABLE my_table SET AGGREGATION POLICY my_agg_policy; The code above will have the following effect on this table: • Must always be grouped; queries without a GROUP BY clause will be rejected. • Result records for groups with fewer than MIN_GROUP_SIZE (less than 5 in this example) will not be shown. • Several aggregate functions are available. Currently, the following four are available. o AVERAGE o COUNT o HLL o SUM • Filters and joins are basically freely available.