mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
21 lines
396 B
C++
21 lines
396 B
C++
#pragma once
|
|
|
|
|
|
#include <Parsers/IParserBase.h>
|
|
#include <Parsers/ExpressionElementParsers.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Query (DESCRIBE | DESC) ([TABLE] [db.]name | tableFunction) [FORMAT format]
|
|
*/
|
|
class ParserDescribeTableQuery : public IParserBase
|
|
{
|
|
protected:
|
|
const char * getName() const { return "DESCRIBE query"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected);
|
|
};
|
|
|
|
}
|