Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
removecode
sqlglot
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlglot
sqlglot
optimizer
normalize.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 3, 2026
Fix!: parse xor(a,b,c) as xor(a,xor(b,c)), fix value unpacking bug in `normalize` (#7702)
georgesittas
authored
3e42f92
View commit details
Copy full SHA for 3e42f92
View code at this point
Browse repository at this point
Commits on May 16, 2026
optimizer/normalize: fix redundant CNF clauses from distributive_law (#7653)
Show description for 527aa46
asmakhan1724
authored
527aa46
View commit details
Copy full SHA for 527aa46
View code at this point
Browse repository at this point
Commits on Apr 30, 2026
refactor(optimizer): continuation on typing coverage improvements (#7572)
Show description for b3fa159
OutSquareCapital
and
Copilot
authored
b3fa159
View commit details
Copy full SHA for b3fa159
View code at this point
Browse repository at this point
Commits on Feb 27, 2026
Toby/compile expressions (#7164)
Show description for 8314a2d
tobymao
authored
8314a2d
View commit details
Copy full SHA for 8314a2d
View code at this point
Browse repository at this point
Commits on Feb 16, 2026
Chore: add some type hints (#7089)
georgesittas
authored
f927329
View commit details
Copy full SHA for f927329
View code at this point
Browse repository at this point
Commits on Nov 10, 2025
fix(optimizer)!: refactor `Connector` simplification to factor in types (#6152)
Show description for b898e92
geooo109
and
georgesittas
authored
b898e92
View commit details
Copy full SHA for b898e92
View code at this point
Browse repository at this point
Commits on Jun 5, 2024
fix: optimize absorb_and_eliminate and remove_complements (#3595)
barakalon
authored
3c2e408
View commit details
Copy full SHA for 3c2e408
View code at this point
Browse repository at this point
Commits on Jun 4, 2024
fix: stop normalization_distance early (#3594)
barakalon
authored
b1d028a
View commit details
Copy full SHA for b1d028a
View code at this point
Browse repository at this point
Commits on Mar 16, 2024
feat!!: make transform non recursive and cleanup walk() to only yield… (#3141)
Show description for a851ec5
tobymao
authored
a851ec5
View commit details
Copy full SHA for a851ec5
View code at this point
Browse repository at this point
Commits on Feb 15, 2024
Refactor: clean up tech debt in dialect implementations (#2977)
Show description for ea9f460
georgesittas
authored
ea9f460
View commit details
Copy full SHA for ea9f460
View code at this point
Browse repository at this point
Commits on Oct 29, 2023
Refactor!: generator now always copies, making transforms much simpler (#2477)
Show description for 5a6b1b1
tobymao
and
georgesittas
authored
5a6b1b1
View commit details
Copy full SHA for 5a6b1b1
View code at this point
Browse repository at this point
Commits on Oct 9, 2023
Feat(optimizer): propagate constants (#2386)
Show description for 0f12db5
georgesittas
authored
0f12db5
View commit details
Copy full SHA for 0f12db5
View code at this point
Browse repository at this point
Commits on May 23, 2023
Fix: replace between before normalization
tobymao
committed
c2cd3fc
View commit details
Copy full SHA for c2cd3fc
View code at this point
Browse repository at this point
Commits on May 19, 2023
Fix!: multi threading issues with simplify
tobymao
committed
a8bf7a4
View commit details
Copy full SHA for a8bf7a4
View code at this point
Browse repository at this point
Commits on May 4, 2023
remove unnecessary copies
tobymao
committed
00838e9
View commit details
Copy full SHA for 00838e9
View code at this point
Browse repository at this point
Commits on Apr 13, 2023
Fix normalize (#1421)
barakalon
authored
dbd81f0
View commit details
Copy full SHA for dbd81f0
View code at this point
Browse repository at this point
Commits on Mar 24, 2023
make normalize default to cnf again
tobymao
committed
1c8c4f6
View commit details
Copy full SHA for 1c8c4f6
View code at this point
Browse repository at this point
Commits on Mar 23, 2023
Simplify (#1333)
Show description for 42be5b7
tobymao
and
barakalon
authored
42be5b7
View commit details
Copy full SHA for 42be5b7
View code at this point
Browse repository at this point
Commits on Mar 22, 2023
rest of tpcds (#1330)
tobymao
authored
54129c1
View commit details
Copy full SHA for 54129c1
View code at this point
Browse repository at this point
more perf improvements
tobymao
committed
e104960
View commit details
Copy full SHA for e104960
View code at this point
Browse repository at this point
make optimizer faster (#1326)
tobymao
authored
c8da032
View commit details
Copy full SHA for c8da032
View code at this point
Browse repository at this point
Commits on Dec 20, 2022
up to tpch-20, find join key for DNF conditions (#824)
tobymao
authored
d657ccd
View commit details
Copy full SHA for d657ccd
View code at this point
Browse repository at this point
Commits on Nov 1, 2022
100 line length
tobymao
committed
38ee9aa
View commit details
Copy full SHA for 38ee9aa
View code at this point
Browse repository at this point
Commits on Sep 21, 2022
Set black line length to 120 (#465)
Show description for 4a6a8ef
crericha
and
tobymao
authored
4a6a8ef
View commit details
Copy full SHA for 4a6a8ef
View code at this point
Browse repository at this point
Commits on Sep 6, 2022
switch to autoflake
tobymao
committed
3758d15
View commit details
Copy full SHA for 3758d15
View code at this point
Browse repository at this point
Commits on Jul 10, 2022
handle a bunch of crazy cases by adding array_*
tobymao
committed
6e01fad
View commit details
Copy full SHA for 6e01fad
View code at this point
Browse repository at this point
Commits on Jun 30, 2022
cleanup imports
tobymao
committed
2bfa457
View commit details
Copy full SHA for 2bfa457
View code at this point
Browse repository at this point
Commits on Jun 23, 2022
remove sorted
tobymao
committed
1b73c6e
View commit details
Copy full SHA for 1b73c6e
View code at this point
Browse repository at this point
Commits on Jun 22, 2022
fix issues with prune and make faster
tobymao
committed
f256bcd
View commit details
Copy full SHA for f256bcd
View code at this point
Browse repository at this point
Commits on Jun 21, 2022
fix all tests
tobymao
committed
fdc1517
View commit details
Copy full SHA for fdc1517
View code at this point
Browse repository at this point
fix up
tobymao
committed
7af304f
View commit details
Copy full SHA for 7af304f
View code at this point
Browse repository at this point
Commits on Jun 20, 2022
small perf tweaks
tobymao
committed
9498efa
View commit details
Copy full SHA for 9498efa
View code at this point
Browse repository at this point
Commits on Jun 8, 2022
pr comments
tobymao
committed
3685359
View commit details
Copy full SHA for 3685359
View code at this point
Browse repository at this point
more progress
tobymao
committed
6a6bf89
View commit details
Copy full SHA for 6a6bf89
View code at this point
Browse repository at this point
Commits on Jun 7, 2022
more progress with pushdown
tobymao
committed
eedf4b2
View commit details
Copy full SHA for eedf4b2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.