mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
Fix build
This commit is contained in:
parent
4984fdc693
commit
54a9b80a11
@ -803,10 +803,9 @@ Pipe MergeTreeDataSelectExecutor::readFromParts(
|
|||||||
|
|
||||||
if (query_info.prewhere_info && query_info.prewhere_info->remove_columns_actions)
|
if (query_info.prewhere_info && query_info.prewhere_info->remove_columns_actions)
|
||||||
{
|
{
|
||||||
auto remove_actions = query_info.prewhere_info->remove_columns_actions->buildExpressions();
|
res.addSimpleTransform([&query_info](const Block & header)
|
||||||
res.addSimpleTransform([&remove_actions](const Block & header)
|
|
||||||
{
|
{
|
||||||
return std::make_shared<ExpressionTransform>(header, remove_actions);
|
return std::make_shared<ExpressionTransform>(header, query_info.prewhere_info->remove_columns_actions);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user