Revert "add regex pattern to identify IN as a Compasion token" · IlayArl/sqlparse@e924194 · GitHub
Skip to content

Commit e924194

Browse files
committed
Revert "add regex pattern to identify IN as a Compasion token"
This reverts commit 28c4d40. See andialbrecht#694. The expectation is that IN is primarily recognized as a keyword, although it acts as a comparison operator. This also matches the definition of IN in most SQL syntax references where it is listed as a reserved keyword (PostgreSQL: https://www.postgresql.org/docs/current/sql-keywords-appendix.html, MySQL: https://dev.mysql.com/doc/refman/8.0/en/keywords.html, for example).
1 parent 9f44d54 commit e924194

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

sqlparse/keywords.py

Lines changed: 1 addition & 1 deletion

tests/test_grouping.py

Lines changed: 1 addition & 11 deletions

0 commit comments

Comments
 (0)