Fix build

This commit is contained in:
Nikolai Kochetov 2020-11-03 22:21:24 +03:00
parent 7b61f5d641
commit 3b6806ea39

View File

@ -43,7 +43,7 @@ Block getHeaderForProcessingStage(
Block header = metadata_snapshot->getSampleBlockForColumns(column_names, storage.getVirtuals(), storage.getStorageID());
if (query_info.prewhere_info)
{
query_info.prewhere_info->prewhere_actions->buildExpressions()->execute(header);
query_info.prewhere_info->prewhere_actions->execute(header);
if (query_info.prewhere_info->remove_prewhere_column)
header.erase(query_info.prewhere_info->prewhere_column_name);
}