Represent a GROUP BY clause with optional ALL/DISTINCT and WITH TOTALS modifiers.
The expressions list may contain plain columns, ordinal positions, ROLLUP/CUBE/GROUPING SETS expressions, or the special empty-set ().
expressions
()
GROUP BY modifier: Some(true) = ALL, Some(false) = DISTINCT, None = no modifier
The grouping expressions.
ClickHouse: WITH TOTALS modifier
Represent a GROUP BY clause with optional ALL/DISTINCT and WITH TOTALS modifiers.
The
expressionslist may contain plain columns, ordinal positions, ROLLUP/CUBE/GROUPING SETS expressions, or the special empty-set().