mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +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()))
|
if (auto * column_const = checkAndGetColumn<ColumnConst>(column.column.get()))
|
||||||
{
|
{
|
||||||
column.column = column_const->removeLowCardinality()->cloneResized(num_rows);
|
column.column = column_const->removeLowCardinality()->cloneResized(num_rows);
|
||||||
if (auto * low_cardinality_type = checkAndGetDataType<DataTypeLowCardinality>(column.type.get()))
|
column.type = removeLowCardinality(column.type);
|
||||||
column.type = removeLowCardinality() ///low_cardinality_type->getDictionaryType();
|
|
||||||
}
|
}
|
||||||
else if (auto * low_cardinality_column = checkAndGetColumn<ColumnLowCardinality>(column.column.get()))
|
else if (auto * low_cardinality_column = checkAndGetColumn<ColumnLowCardinality>(column.column.get()))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user