ClickHouse/src/Parsers/ParserShowColumnsQuery.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
426 B
C++
Raw Normal View History

#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Parses queries of the form
2023-04-26 09:46:35 +00:00
* SHOW [EXTENDED] [FULL] COLUMNS FROM|IN tbl [FROM|IN db] [[NOT] LIKE|ILIKE expr | WHERE expr] [LIMIT n]
*/
class ParserShowColumnsQuery : public IParserBase
{
protected:
const char * getName() const override { return "SHOW COLUMNS query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}