From c8e84928b9006112307469333f9b271ed7c8ce6c Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Thu, 29 Apr 2021 21:54:54 +0300 Subject: [PATCH] fix --- src/Storages/MergeTree/SubstituteColumnOptimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/SubstituteColumnOptimizer.cpp b/src/Storages/MergeTree/SubstituteColumnOptimizer.cpp index 15974adbb0a..1104e1078f3 100644 --- a/src/Storages/MergeTree/SubstituteColumnOptimizer.cpp +++ b/src/Storages/MergeTree/SubstituteColumnOptimizer.cpp @@ -22,7 +22,7 @@ namespace { const String COMPONENT = "__constraint_component_"; -constexpr UInt64 COLUMN_PENALTY = 0; //1024 * 1024 * 10; +constexpr UInt64 COLUMN_PENALTY = 10 * 1024 * 1024; //constexpr size_t MAX_COMPONENTS_FOR_BRUTEFORCE = 10; class ComponentMatcher