mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update IFunction.cpp
This commit is contained in:
parent
2f0f7eacbf
commit
beabb91903
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user