From 0ff823b5748c772cbd3b3cdc6cd3d959343c6831 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Wed, 9 Oct 2019 11:09:51 +0300 Subject: [PATCH] Return SparseHashed name (system.dictionaries:type) for the sparse_hashed layout Due to tons of rebasing this bit had been forgotten. Refs: 420089c301 ("Add new dictionary layout (sparse_hashed) that is more memory efficient") --- dbms/src/Dictionaries/HashedDictionary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Dictionaries/HashedDictionary.h b/dbms/src/Dictionaries/HashedDictionary.h index 4f9cded40fc..b605157eb93 100644 --- a/dbms/src/Dictionaries/HashedDictionary.h +++ b/dbms/src/Dictionaries/HashedDictionary.h @@ -36,7 +36,7 @@ public: std::string getName() const override { return name; } - std::string getTypeName() const override { return "Hashed"; } + std::string getTypeName() const override { return sparse ? "SparseHashed" : "Hashed"; } size_t getBytesAllocated() const override { return bytes_allocated; }