1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/parser/group_by_node.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/parser/parsed_expression.hpp"
12#include "duckdb/common/set.hpp"
13#include "duckdb/common/vector.hpp"
14
15namespace duckdb {
16
17using GroupingSet = set<idx_t>;
18
19class GroupByNode {
20public:
21 //! The total set of all group expressions
22 vector<unique_ptr<ParsedExpression>> group_expressions;
23 //! The different grouping sets as they map to the group expressions
24 vector<GroupingSet> grouping_sets;
25};
26
27} // namespace duckdb
28