Moved DataTypeWithDictionary implementation to DataTypeWithDictionary.cpp

This commit is contained in:
Nikolai Kochetov 2018-05-03 20:34:17 +03:00
parent e2416cfa6f
commit ec46b915e8

View File

@ -208,7 +208,7 @@ MutableColumnPtr DataTypeWithDictionary::createColumn() const
if (type->isNumber())
{
MutableColumnPtr column;
TypeListNumbers::forEach(CreateColumnVector(column, this, dictionary_type.get()));
TypeListNumbers::forEach(CreateColumnVector(column, this, type.get()));
if (!column)
throw Exception("Unexpected numeric type: " + type->getName(), ErrorCodes::LOGICAL_ERROR);