ClickHouse/src/Analyzer/QueryTreeBuilder.h

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

22 lines
661 B
C++
Raw Normal View History

2022-07-14 11:20:16 +00:00
#pragma once
#include <Parsers/IAST_fwd.h>
#include <Storages/IStorage_fwd.h>
#include <Interpreters/Context_fwd.h>
#include <Analyzer/IQueryTreeNode.h>
#include <Analyzer/ColumnTransformers.h>
namespace DB
{
/** Build query tree from AST.
2022-10-19 10:25:27 +00:00
* AST that represent query ASTSelectWithUnionQuery, ASTSelectIntersectExceptQuery, ASTSelectQuery.
2022-07-14 11:20:16 +00:00
* AST that represent a list of expressions ASTExpressionList.
* AST that represent expression ASTIdentifier, ASTAsterisk, ASTLiteral, ASTFunction.
2022-12-06 09:44:38 +00:00
*
* For QUERY and UNION nodes contexts are created with respect to specified SETTINGS.
2022-07-14 11:20:16 +00:00
*/
2022-09-27 15:04:03 +00:00
QueryTreeNodePtr buildQueryTree(ASTPtr query, ContextPtr context);
2022-07-14 11:20:16 +00:00
}