mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Fix type for constant LowCardinality arguments.
This commit is contained in:
parent
1af4d9b89c
commit
bb686b3154
@ -356,8 +356,7 @@ static ColumnPtr replaceLowCardinalityColumnsByNestedAndGetDictionaryIndexes(
|
||||
if (auto * column_const = checkAndGetColumn<ColumnConst>(column.column.get()))
|
||||
{
|
||||
column.column = column_const->removeLowCardinality()->cloneResized(num_rows);
|
||||
if (auto * low_cardinality_type = checkAndGetDataType<DataTypeLowCardinality>(column.type.get()))
|
||||
column.type = removeLowCardinality() ///low_cardinality_type->getDictionaryType();
|
||||
column.type = removeLowCardinality(column.type);
|
||||
}
|
||||
else if (auto * low_cardinality_column = checkAndGetColumn<ColumnLowCardinality>(column.column.get()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user