2013-02-21 10:02:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-04-01 09:19:00 +00:00
|
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
#include <Parsers/ExpressionElementParsers.h>
|
2013-02-21 10:02:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2020-12-14 14:37:25 +00:00
|
|
|
/** Query (EXISTS | SHOW CREATE) [DATABASE|TABLE|DICTIONARY] [db.]name [FORMAT format]
|
2013-02-21 10:02:33 +00:00
|
|
|
*/
|
2017-01-11 19:05:46 +00:00
|
|
|
class ParserTablePropertiesQuery : public IParserBase
|
2013-02-21 10:02:33 +00:00
|
|
|
{
|
|
|
|
protected:
|
2017-11-01 14:34:05 +00:00
|
|
|
const char * getName() const override { return "EXISTS or SHOW CREATE query"; }
|
|
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
2013-02-21 10:02:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|