Remove null map cache from ColumnUnique.

This commit is contained in:
Nikolai Kochetov 2018-11-23 14:55:06 +03:00
parent d64fe4204a
commit f3aa1292a9

View File

@ -87,7 +87,8 @@ public:
{
callback(column_holder);
index.setColumn(getRawColumnPtr());
nested_column_nullable = ColumnNullable::create(column_holder, nested_null_mask);
if (is_nullable)
nested_column_nullable = ColumnNullable::create(column_holder, nested_null_mask);
}
const UInt64 * tryGetSavedHash() const override { return index.tryGetSavedHash(); }