From 761c612295c8f09ff12fc697e482069ac7bd61a2 Mon Sep 17 00:00:00 2001 From: liuneng <1398775315@qq.com> Date: Tue, 19 Mar 2024 18:29:07 +0800 Subject: [PATCH] fix style --- src/Analyzer/Passes/ConvertInToEqualPass.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Analyzer/Passes/ConvertInToEqualPass.h b/src/Analyzer/Passes/ConvertInToEqualPass.h index 19b83c0f65fa..7de75e94f041 100644 --- a/src/Analyzer/Passes/ConvertInToEqualPass.h +++ b/src/Analyzer/Passes/ConvertInToEqualPass.h @@ -2,15 +2,15 @@ #include -namespace DB { - +namespace DB +{ /** Optimize `in` to `equals` if possible. * * Example: SELECT * from test where x IN (1); * Result: SELECT * from test where x = 1; - * */ -class ConvertInToEqualPass final : public IQueryTreePass { +class ConvertInToEqualPass final : public IQueryTreePass +{ public: String getName() override { return "ConvertInToEqualPass"; } @@ -19,6 +19,3 @@ class ConvertInToEqualPass final : public IQueryTreePass { void run(QueryTreeNodePtr & query_tree_node, ContextPtr context) override; }; } - - -