From 4984fdc693c3c79a26137a4fccecf7e88b7ee65a Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Tue, 3 Nov 2020 22:28:50 +0300 Subject: [PATCH] Fix build --- src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp b/src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp index 31578cc8f4f..ad10a437b1e 100644 --- a/src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp +++ b/src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp @@ -260,9 +260,9 @@ MergeTreeReadTaskColumns getReadTaskColumns( if (prewhere_info) { if (prewhere_info->alias_actions) - pre_column_names = prewhere_info->alias_actions->getRequiredColumns().getNames(); + pre_column_names = prewhere_info->alias_actions->getRequiredColumns(); else - pre_column_names = prewhere_info->prewhere_actions->getRequiredColumns().getNames(); + pre_column_names = prewhere_info->prewhere_actions->getRequiredColumns(); if (pre_column_names.empty()) pre_column_names.push_back(column_names[0]);