GROUP BY PERIOD: Does not support GROUPING SETS
A=# select a, count(*) from test group by period with (ts,te) a;
a | count
---+-------
a | 1
j | 1
a | 1
(3 rows)
A=# select a, count(*) from test group by period with (ts,te) cube(a);
ERROR: column unnamed_normalize_2.cube does not exist