Fixed build [#METR-2807].

This commit is contained in:
Alexey Milovidov 2015-02-01 11:24:49 +03:00
parent ebe7738c27
commit 7f0654cabb
5 changed files with 14 additions and 14 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);