ClickHouse/dbms/include/DB/Parsers/TablePropertiesQueriesASTs.h
2016-06-07 11:23:15 +03:00

14 lines
363 B
C++

#pragma once
#include <DB/Parsers/ASTQueryWithTableAndOutput.h>
namespace DB
{
DEFINE_AST_QUERY_WITH_TABLE_AND_OUTPUT(ASTExistsQuery, "ExistsQuery", "EXISTS TABLE")
DEFINE_AST_QUERY_WITH_TABLE_AND_OUTPUT(ASTShowCreateQuery, "ShowCreateQuery", "SHOW CREATE TABLE")
DEFINE_AST_QUERY_WITH_TABLE_AND_OUTPUT(ASTDescribeQuery, "DescribeQuery", "DESCRIBE TABLE")
}