mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Merge pull request #3568 from yandex/fix-low-cardinality-nullable-perf
Fix perf in IColumnUnique::size func.
This commit is contained in:
commit
2f16ec5c79
@ -23,7 +23,7 @@ public:
|
||||
/// Uses thread-safe cache.
|
||||
virtual const UInt64 * tryGetSavedHash() const = 0;
|
||||
|
||||
size_t size() const override { return getNestedColumn()->size(); }
|
||||
size_t size() const override { return getNestedNotNullableColumn()->size(); }
|
||||
|
||||
/// Appends new value at the end of column (column's size is increased by 1).
|
||||
/// Is used to transform raw strings to Blocks (for example, inside input format parsers)
|
||||
|
Loading…
Reference in New Issue
Block a user