ClickHouse/src/Parsers/ParserWithElement.h
Amos Bird 882b2a3348
CTE
2020-09-13 09:39:17 +08:00

19 lines
354 B
C++

#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** WITH (scalar query) AS identifier
* or WITH identifier AS (subquery)
*/
class ParserWithElement : public IParserBase
{
protected:
const char * getName() const override { return "WITH element"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}