From 4ac8078c82114dee862d6a6c80feb14dc3b6154e Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Thu, 3 May 2018 15:02:36 +0300 Subject: [PATCH] added IColumn::select --- dbms/src/Functions/IFunction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Functions/IFunction.cpp b/dbms/src/Functions/IFunction.cpp index 989cc6df82b..30e7a8f369b 100644 --- a/dbms/src/Functions/IFunction.cpp +++ b/dbms/src/Functions/IFunction.cpp @@ -241,7 +241,7 @@ static Block removeColumnsWithDictionary(Block & block, const ColumnNumbers & ar indexes = column_with_dict->getIndexesPtr(); } } - else if (!checkColumnConst(column.get())) + else if (!checkColumn(column.get())) convert_all_to_full = true; } @@ -278,7 +278,7 @@ static Block removeColumnsWithDictionary(Block & block, const ColumnNumbers & ar temp_block.insert({new_column, type_with_dict->getDictionaryType(), column.name}); } - else if (auto * column_const = checkAndGetColumnConst(column.column.get())) + else if (auto * column_const = checkAndGetColumn(column.column.get())) temp_block.insert({column_const->cloneResized(column_with_dict_size), column.type, column.name}); else if (convert_all_to_full) temp_block.insert(column);