mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed build [#METR-2807].
This commit is contained in:
parent
ebe7738c27
commit
7f0654cabb
@ -50,7 +50,7 @@ int main(int argc, char ** argv)
|
||||
Context context;
|
||||
context.getColumns().push_back(NameAndTypePair("number", new DataTypeUInt64));
|
||||
|
||||
ExpressionAnalyzer analyzer(ast, context);
|
||||
ExpressionAnalyzer analyzer(ast, context, context.getColumns());
|
||||
ExpressionActionsChain chain;
|
||||
analyzer.appendSelect(chain, false);
|
||||
analyzer.appendProjectResult(chain, false);
|
||||
|
@ -56,7 +56,7 @@ int main(int argc, char ** argv)
|
||||
Context context;
|
||||
context.getColumns().push_back(NameAndTypePair("number", new DataTypeUInt64));
|
||||
|
||||
ExpressionAnalyzer analyzer(ast, context);
|
||||
ExpressionAnalyzer analyzer(ast, context, context.getColumns());
|
||||
ExpressionActionsChain chain;
|
||||
analyzer.appendSelect(chain, false);
|
||||
analyzer.appendProjectResult(chain, false);
|
||||
|
@ -125,7 +125,7 @@ int main(int argc, char ** argv)
|
||||
|
||||
/// читаем из неё, применяем выражение, фильтруем, и пишем в tsv виде в консоль
|
||||
|
||||
ExpressionAnalyzer analyzer(ast, context);
|
||||
ExpressionAnalyzer analyzer(ast, context, context.getColumns());
|
||||
ExpressionActionsChain chain;
|
||||
analyzer.appendSelect(chain, false);
|
||||
analyzer.appendWhere(chain, false);
|
||||
|
@ -71,7 +71,7 @@ int main(int argc, char ** argv)
|
||||
Context context;
|
||||
context.getColumns().push_back(NameAndTypePair("number", new DataTypeUInt64));
|
||||
|
||||
ExpressionAnalyzer analyzer(ast, context);
|
||||
ExpressionAnalyzer analyzer(ast, context, context.getColumns());
|
||||
ExpressionActionsChain chain;
|
||||
analyzer.appendSelect(chain, false);
|
||||
analyzer.appendProjectResult(chain, false);
|
||||
|
@ -65,7 +65,7 @@ int main(int argc, char ** argv)
|
||||
columns.push_back(NameAndTypePair("s2", new DataTypeString));
|
||||
context.setColumns(columns);
|
||||
|
||||
ExpressionAnalyzer analyzer(ast, context);
|
||||
ExpressionAnalyzer analyzer(ast, context, context.getColumns());
|
||||
ExpressionActionsChain chain;
|
||||
analyzer.appendSelect(chain, false);
|
||||
analyzer.appendProjectResult(chain, false);
|
||||
|
Loading…
Reference in New Issue
Block a user