mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
24 lines
543 B
C++
24 lines
543 B
C++
#pragma once
|
|
|
|
#include <Parsers/ASTQueryWithOutput.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Single SELECT query or multiple SELECT queries with UNION ALL.
|
|
* Only UNION ALL is possible. No UNION DISTINCT or plain UNION.
|
|
*/
|
|
class ASTSelectWithUnionQuery : public ASTQueryWithOutput
|
|
{
|
|
public:
|
|
String getID(char) const override { return "SelectWithUnionQuery"; }
|
|
|
|
ASTPtr clone() const override;
|
|
void formatQueryImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
|
|
|
|
ASTPtr list_of_selects;
|
|
};
|
|
|
|
}
|