1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/parser/common_table_expression_info.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/parser/statement/select_statement.hpp"
12
13namespace duckdb {
14
15class SelectStatement;
16
17struct CommonTableExpressionInfo {
18 vector<string> aliases;
19 unique_ptr<SelectStatement> query;
20
21 void FormatSerialize(FormatSerializer &serializer) const;
22 static unique_ptr<CommonTableExpressionInfo> FormatDeserialize(FormatDeserializer &deserializer);
23 unique_ptr<CommonTableExpressionInfo> Copy();
24};
25
26} // namespace duckdb
27