From 0b3f9918a3b642d041471d03761eb0dcce952f53 Mon Sep 17 00:00:00 2001 From: Han Fei Date: Sat, 12 Aug 2023 14:40:02 +0200 Subject: [PATCH] fix style --- src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp b/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp index 6fbc8ffa759..466dbb45a4d 100644 --- a/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp +++ b/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp @@ -284,7 +284,7 @@ MergeTreeWhereOptimizer::Conditions MergeTreeWhereOptimizer::analyze(const RPNBu Conditions res; std::set pk_positions; analyzeImpl(res, node, where_optimizer_context, pk_positions); - + /// E.g., if the primary key is (a, b, c) but the condition is a = 1 and c = 1, /// we should only put (a = 1) to the tail of PREWHERE, /// and treat (c = 1) as a normal column.