Header in every stream: development [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-02-18 00:08:21 +03:00
parent 9e1638e1dd
commit ff235fc506

View File

@ -473,7 +473,7 @@ BlockInputStreams MergeTreeDataSelectExecutor::read(
filter_function->children.push_back(filter_function->arguments);
}
filter_expression = ExpressionAnalyzer(filter_function, context, nullptr, available_real_columns).getActions(true);
filter_expression = ExpressionAnalyzer(filter_function, context, nullptr, available_real_columns).getActions(false);
/// Add columns needed for `sampling_expression` to `column_names_to_read`.
std::vector<String> add_columns = filter_expression->getRequiredColumns();