Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Mar 19, 2024
1 parent 532d72a commit 761c612
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/Analyzer/Passes/ConvertInToEqualPass.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

#include <Analyzer/IQueryTreePass.h>

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"; }

Expand All @@ -19,6 +19,3 @@ class ConvertInToEqualPass final : public IQueryTreePass {
void run(QueryTreeNodePtr & query_tree_node, ContextPtr context) override;
};
}



0 comments on commit 761c612

Please sign in to comment.