Update IFunction.cpp

This commit is contained in:
alexey-milovidov 2018-08-14 22:35:52 +03:00 committed by GitHub
parent 2f0f7eacbf
commit beabb91903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ void PreparedFunctionImpl::execute(Block & block, const ColumnNumbers & args, si
auto * column_with_dictionary = typeid_cast<ColumnWithDictionary *>(res_column.get()); auto * column_with_dictionary = typeid_cast<ColumnWithDictionary *>(res_column.get());
if (!column_with_dictionary) if (!column_with_dictionary)
throw Exception("Expected LowCardinality column, got" + res_column->getName(), ErrorCodes::LOGICAL_ERROR); throw Exception("Expected LowCardinality column, got " + res_column->getName(), ErrorCodes::LOGICAL_ERROR);
auto & keys = block_without_dicts.safeGetByPosition(result).column; auto & keys = block_without_dicts.safeGetByPosition(result).column;
if (indexes) if (indexes)