Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-hildred committed Apr 9, 2024
1 parent 9d4f1d8 commit 626b7b1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Analyzer/Passes/LogicalExpressionOptimizerPass.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ namespace DB
* -------------------------------
*
* 7. Remove redundant equality checks on boolean functions.
* - these requndant checks cause the primary index to not be used when if the query involves any primary key columns
* - these requndant checks cause the primary index to not be used when if the query involves any primary key columns
* -------------------------------
* SELECT * FROM t1 WHERE a IN (n) = 1
* SELECT * FROM t1 WHERE a IN (n) = 1
* SELECT * FROM t1 WHERE a IN (n) = 0
*
* will be transformed into
*
* SELECT * FROM t1 WHERE a IN (n)
* SELECT * FROM t1 WHERE NOT a IN (n)
*
* will be transformed into
*
* SELECT * FROM t1 WHERE a IN (n)
* SELECT * FROM t1 WHERE NOT a IN (n)
* -------------------------------
*/

Expand Down

0 comments on commit 626b7b1

Please sign in to comment.