Less dependencies [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2017-01-14 11:54:22 +03:00
parent 2a8564c68c
commit 9581620f1e
8 changed files with 15 additions and 0 deletions

View File

@ -275,6 +275,7 @@ public:
const ASTPtr & query, const Context & context, const NamesAndTypesList & all_columns);
using AtomMap = std::unordered_map<std::string, bool(*)(RPNElement & out, const Field & value, ASTPtr & node)>;
static const AtomMap atom_map;
private:
using RPN = std::vector<RPNElement>;

View File

@ -3,11 +3,15 @@
#include <DB/Interpreters/Context.h>
#include <DB/Interpreters/ExpressionAnalyzer.h>
#include <DB/Interpreters/ExpressionActions.h>
#include <DB/Parsers/ASTIdentifier.h>
#include <DB/Parsers/ASTExpressionList.h>
#include <DB/Parsers/ASTLiteral.h>
#include <DB/Parsers/ASTFunction.h>
#include <DB/Parsers/ASTSelectQuery.h>
#include <DB/Columns/ColumnsNumber.h>
#include <DB/Common/VirtualColumnUtils.h>

View File

@ -19,6 +19,8 @@
#include <DB/Interpreters/convertFieldToType.h>
#include <DB/Interpreters/evaluateConstantExpression.h>
#include <DB/Storages/MergeTree/PKCondition.h>
namespace DB
{

View File

@ -6,6 +6,9 @@
#include <DB/Interpreters/ExpressionAnalyzer.h>
#include <DB/Interpreters/ExpressionActions.h>
#include <DB/Parsers/ASTIdentifier.h>
#include <DB/Parsers/ASTExpressionList.h>
#include <DB/Parsers/ASTLiteral.h>
#include <DB/Parsers/ASTFunction.h>
namespace DB

View File

@ -20,7 +20,9 @@
#include <DB/Storages/MergeTree/MergeTreeBlockInputStream.h>
#include <DB/Storages/MergeTree/MergeTreeReadPool.h>
#include <DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h>
#include <DB/Storages/MergeTree/PKCondition.h>
#include <DB/Parsers/ASTIdentifier.h>
#include <DB/Parsers/ASTFunction.h>
#include <DB/Parsers/ASTSampleRatio.h>
#include <DB/DataStreams/ExpressionBlockInputStream.h>
#include <DB/DataStreams/FilterBlockInputStream.h>

View File

@ -14,6 +14,7 @@
#include <DB/Functions/IFunction.h>
#include <DB/Core/FieldVisitors.h>
#include <DB/Interpreters/convertFieldToType.h>
#include <DB/Interpreters/Set.h>
namespace DB

View File

@ -20,6 +20,7 @@
#include <DB/Parsers/parseQuery.h>
#include <DB/Parsers/ASTWeightedZooKeeperPath.h>
#include <DB/Parsers/ASTLiteral.h>
#include <DB/Parsers/ASTExpressionList.h>
#include <DB/Parsers/queryToString.h>
#include <DB/Interpreters/InterpreterSelectQuery.h>

View File

@ -10,6 +10,7 @@
#include <DB/Interpreters/InterpreterAlterQuery.h>
#include <DB/Interpreters/ExpressionAnalyzer.h>
#include <DB/Parsers/ASTFunction.h>
#include <DB/Parsers/ASTSelectQuery.h>
#include <Poco/DirectoryIterator.h>
#include <Poco/File.h>