mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
added IColumn::select
This commit is contained in:
parent
882ddff7d4
commit
4ac8078c82
@ -241,7 +241,7 @@ static Block removeColumnsWithDictionary(Block & block, const ColumnNumbers & ar
|
|||||||
indexes = column_with_dict->getIndexesPtr();
|
indexes = column_with_dict->getIndexesPtr();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!checkColumnConst(column.get()))
|
else if (!checkColumn<ColumnConst>(column.get()))
|
||||||
convert_all_to_full = true;
|
convert_all_to_full = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -278,7 +278,7 @@ static Block removeColumnsWithDictionary(Block & block, const ColumnNumbers & ar
|
|||||||
|
|
||||||
temp_block.insert({new_column, type_with_dict->getDictionaryType(), column.name});
|
temp_block.insert({new_column, type_with_dict->getDictionaryType(), column.name});
|
||||||
}
|
}
|
||||||
else if (auto * column_const = checkAndGetColumnConst(column.column.get()))
|
else if (auto * column_const = checkAndGetColumn<ColumnConst>(column.column.get()))
|
||||||
temp_block.insert({column_const->cloneResized(column_with_dict_size), column.type, column.name});
|
temp_block.insert({column_const->cloneResized(column_with_dict_size), column.type, column.name});
|
||||||
else if (convert_all_to_full)
|
else if (convert_all_to_full)
|
||||||
temp_block.insert(column);
|
temp_block.insert(column);
|
||||||
|
Loading…
Reference in New Issue
Block a user