groupingSets property

List<List<Expr>>? groupingSets
final

When the GROUP BY clause uses ROLLUP / CUBE / GROUPING SETS, this holds the expanded list of grouping-key sets (one list per set). groupBy then holds the union of every set's keys for binding / validation; the executor iterates groupingSets, runs the aggregation per set, and unions the results.

Implementation

final List<List<Expr>>? groupingSets;