mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
added DataTypeWithDictionary serialization per granule
This commit is contained in:
parent
bfc42259cb
commit
387227409a
@ -327,7 +327,7 @@ namespace detail
|
||||
template <typename T>
|
||||
PaddedPODArray<T> * getIndexesData(IColumn & indexes)
|
||||
{
|
||||
auto * column = typeid_cast<const ColumnVector<T> *>(&indexes);
|
||||
auto * column = typeid_cast<ColumnVector<T> *>(&indexes);
|
||||
if (column)
|
||||
return &column->getData();
|
||||
|
||||
@ -372,7 +372,7 @@ MutableColumnPtr makeSubIndex(IColumn & column)
|
||||
else if (auto * data_uint64 = detail::getIndexesData<UInt64>(column))
|
||||
return detail::getUniqueIndexImpl(*data_uint64);
|
||||
else
|
||||
throw Exception("Indexes column for makeSubindex must be ColumnUInt, got" + column->getName(),
|
||||
throw Exception("Indexes column for makeSubindex must be ColumnUInt, got" + column.getName(),
|
||||
ErrorCodes::LOGICAL_ERROR);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user