Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
StarkTech04
sqlparse
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlparse
sqlparse
keywords.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 25, 2026
Keep keyword before leading-dot float literal (issue601)
Show description for a194d31
deepakganesh78
authored and
andialbrecht
committed
a194d31
View commit details
Copy full SHA for a194d31
View code at this point
Browse repository at this point
Merge branch 'master' into fix-alter-table-row-format-keyword-773
andialbrecht
authored
1bcb2d9
View commit details
Copy full SHA for 1bcb2d9
View code at this point
Browse repository at this point
Recognize MATERIALIZED as a keyword (issue752)
Show description for ac3b9e0
binggao1230
authored and
andialbrecht
committed
ac3b9e0
View commit details
Copy full SHA for ac3b9e0
View code at this point
Browse repository at this point
Commits on Jul 3, 2026
Recognize ROW_FORMAT as a keyword (issue773)
Show description for 26d7d65
apoorvdarshan
committed
26d7d65
View commit details
Copy full SHA for 26d7d65
View code at this point
Browse repository at this point
Commits on May 21, 2026
Refactor statement splitter to a simplified stack-based architecture (fixes #845)
andialbrecht
committed
8f978ca
View commit details
Copy full SHA for 8f978ca
View code at this point
Browse repository at this point
Commits on Nov 27, 2025
Fix handling of IF EXISTS statements in BEGIN...END blocks (fixes #812).
andialbrecht
committed
e92a032
View commit details
Copy full SHA for e92a032
View code at this point
Browse repository at this point
Commits on Nov 25, 2025
support "REGEXP BINARY" comparison operator
Show description for 3e89727
swarnat
authored and
andialbrecht
committed
3e89727
View commit details
Copy full SHA for 3e89727
View code at this point
Browse repository at this point
fix: Add `ATTACH`, `DETACH` to PostgreSQL keywords.
Show description for 694747f
filiprem-clickup
authored and
andialbrecht
committed
694747f
View commit details
Copy full SHA for 694747f
View code at this point
Browse repository at this point
Commits on Jul 19, 2024
Add EXTENSION as keyword (fixes #785).
andialbrecht
committed
e48000a
View commit details
Copy full SHA for e48000a
View code at this point
Browse repository at this point
Commits on Jul 15, 2024
Fix tokenization of order keywords (fixes #532).
andialbrecht
committed
b126ba5
View commit details
Copy full SHA for b126ba5
View code at this point
Browse repository at this point
Commits on Mar 16, 2024
Fix parsing of PRIMARY KEY (fixes #740).
andialbrecht
committed
46971e5
View commit details
Copy full SHA for 46971e5
View code at this point
Browse repository at this point
Code cleanup.
andialbrecht
committed
fc4b0be
View commit details
Copy full SHA for fc4b0be
View code at this point
Browse repository at this point
add snowflake and bq keywords
griffatrasgo
authored and
andialbrecht
committed
db1ebe2
View commit details
Copy full SHA for db1ebe2
View code at this point
Browse repository at this point
Identify TRUNCATE as DDL, REVOKE/GRANT as DCL keywords.
Show description for d76e8a4
andialbrecht
committed
d76e8a4
View commit details
Copy full SHA for d76e8a4
View code at this point
Browse repository at this point
Add new group for MySQL specific keywords.
andialbrecht
committed
6b10952
View commit details
Copy full SHA for 6b10952
View code at this point
Browse repository at this point
Add support for some of the JSON operators (fixes #682).
andialbrecht
committed
6b05583
View commit details
Copy full SHA for 6b05583
View code at this point
Browse repository at this point
Commits on Mar 15, 2024
Improve splitting of Transact SQL when using GO keyword (fixes #762).
andialbrecht
committed
7334ac9
View commit details
Copy full SHA for 7334ac9
View code at this point
Browse repository at this point
Commits on Mar 5, 2024
allow operators to procede dollar quoted strings
Georg Traar
authored and
andialbrecht
committed
ab84201
View commit details
Copy full SHA for ab84201
View code at this point
Browse repository at this point
Commits on Apr 18, 2023
Remove unnecessary parts in regex for bad escaping.
Show description for c457abd
andialbrecht
committed
c457abd
View commit details
Copy full SHA for c457abd
View code at this point
Browse repository at this point
Commits on Mar 20, 2023
Cleanup regex for detecting keywords (fixes #709).
andialbrecht
committed
fc76056
View commit details
Copy full SHA for fc76056
View code at this point
Browse repository at this point
Commits on Jan 2, 2023
lexer documentation
mrmasterplan
authored and
andialbrecht
committed
e0d3928
View commit details
Copy full SHA for e0d3928
View code at this point
Browse repository at this point
remove type annotations for python 3.5 compatibility
mrmasterplan
authored and
andialbrecht
committed
8515d2e
View commit details
Copy full SHA for 8515d2e
View code at this point
Browse repository at this point
configurable syntax
mrmasterplan
authored and
andialbrecht
committed
9a1cb5d
View commit details
Copy full SHA for 9a1cb5d
View code at this point
Browse repository at this point
Commits on Dec 30, 2022
Revert "add regex pattern to identify IN as a Compasion token"
Show description for e924194
andialbrecht
committed
e924194
View commit details
Copy full SHA for e924194
View code at this point
Browse repository at this point
Commits on Sep 10, 2022
Allow any unicode character as identifier name (fixes #641).
andialbrecht
committed
b72a8ff
View commit details
Copy full SHA for b72a8ff
View code at this point
Browse repository at this point
Commits on Sep 6, 2022
Add docstring and comments.
andialbrecht
committed
07a2e81
View commit details
Copy full SHA for 07a2e81
View code at this point
Browse repository at this point
Commits on Aug 24, 2022
Add DISTINCTROW keyword (fixes #677).
andialbrecht
committed
0bbfd5f
View commit details
Copy full SHA for 0bbfd5f
View code at this point
Browse repository at this point
Commits on Aug 8, 2022
Add regex pattern to identify REGEXP as a Compasion token
PeterSandwich
authored and
andialbrecht
committed
9d2cb6f
View commit details
Copy full SHA for 9d2cb6f
View code at this point
Browse repository at this point
added some builtin types that can appear in Spark create table statements.
Simon Heisterkamp
authored and
andialbrecht
committed
4073b56
View commit details
Copy full SHA for 4073b56
View code at this point
Browse repository at this point
DIV is Operator
chezou
authored and
andialbrecht
committed
3668799
View commit details
Copy full SHA for 3668799
View code at this point
Browse repository at this point
Commits on Aug 7, 2022
Fix INDICATOR keyword
ptld
authored and
andialbrecht
committed
e58781d
View commit details
Copy full SHA for e58781d
View code at this point
Browse repository at this point
Commits on Jul 14, 2021
Fix parsing of scientific numbers (fixes #399).
andialbrecht
committed
e660467
View commit details
Copy full SHA for e660467
View code at this point
Browse repository at this point
Commits on Dec 12, 2020
keyword, add ON_ERROR_STOP
j-martin
authored and
andialbrecht
committed
acc2810
View commit details
Copy full SHA for acc2810
View code at this point
Browse repository at this point
keyword, add CONFLICT to postgres keywords
Show description for 282bcf1
j-martin
authored and
andialbrecht
committed
282bcf1
View commit details
Copy full SHA for 282bcf1
View code at this point
Browse repository at this point
Commits on Oct 19, 2020
Add ELSIF as keyword (fixes #584).
andialbrecht
committed
63885dd
View commit details
Copy full SHA for 63885dd
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.