From db23e0fcb4bc31e04e06b49300e1d469a4df74cb Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Thu, 3 May 2018 15:53:18 +0300 Subject: [PATCH] added IColumn::select --- dbms/src/Functions/IFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Functions/IFunction.cpp b/dbms/src/Functions/IFunction.cpp index c0424b1b4e7..810ce989b71 100644 --- a/dbms/src/Functions/IFunction.cpp +++ b/dbms/src/Functions/IFunction.cpp @@ -312,7 +312,7 @@ void PreparedFunctionImpl::execute(Block & block, const ColumnNumbers & args, si throw Exception("Expected ColumnWithDictionary, got" + res_col.column->getName(), ErrorCodes::LOGICAL_ERROR); - auto & mut_col_with_dict = static_cast(*col_with_dict); + auto & mut_col_with_dict = const_cast(*col_with_dict); if (indexes) {