added IColumn::select

This commit is contained in:
Nikolai Kochetov 2018-05-03 15:53:18 +03:00
parent ba0a5af437
commit db23e0fcb4

View File

@ -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<ColumnWithDictionary &>(*col_with_dict);
auto & mut_col_with_dict = const_cast<ColumnWithDictionary &>(*col_with_dict);
if (indexes)
{