From 85c01684ebcfe0569e47e0c10bd63690f134a789 Mon Sep 17 00:00:00 2001 From: Andrey Chulkov Date: Mon, 23 Mar 2020 03:14:20 +0300 Subject: [PATCH] Change config values for grid --- dbms/src/Dictionaries/PolygonDictionaryImplementations.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Dictionaries/PolygonDictionaryImplementations.h b/dbms/src/Dictionaries/PolygonDictionaryImplementations.h index 0f328a6fe3a..e244c9cb349 100644 --- a/dbms/src/Dictionaries/PolygonDictionaryImplementations.h +++ b/dbms/src/Dictionaries/PolygonDictionaryImplementations.h @@ -55,7 +55,7 @@ private: GridRoot grid; static constexpr size_t kMinIntersections = 1; - static constexpr size_t kMaxDepth = 10; + static constexpr size_t kMaxDepth = 5; }; /** Smart implementation of the polygon dictionary. Uses BucketsPolygonIndex. */ @@ -79,7 +79,7 @@ private: std::vector buckets; GridRoot grid; static constexpr size_t kMinIntersections = 1; - static constexpr size_t kMaxDepth = 7; + static constexpr size_t kMaxDepth = 5; }; }