Skip to content

fix(optimizer)!: absorb and eliminate complements only for non-null operands - #7970

Merged
geooo109 merged 1 commit into
mainfrom
geooo109/opt_null
Jul 27, 2026
Merged

fix(optimizer)!: absorb and eliminate complements only for non-null operands#7970
geooo109 merged 1 commit into
mainfrom
geooo109/opt_null

Conversation

@geooo109

Copy link
Copy Markdown
Collaborator

Fixes #7962

Comment thread sqlglot/schema.py Outdated
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

SQLGlot Integration Test Results

✅ All tests passed

Comparing:

  • this branch (sqlglot:geooo109/opt_null @ sqlglot 1ce0ef9)
  • baseline (main @ sqlglot ebf3dd8)

Overall

main: 192414 total, 153544 passed (pass rate: 79.8%)

sqlglot:geooo109/opt_null: 180220 total, 142392 passed (pass rate: 79.0%)

Transitions:
No change

Dialect pair changes: 0 previous results not found, 3 current results not found

✅ All tests passed

@geooo109
geooo109 force-pushed the geooo109/opt_null branch from c797f59 to 7a98df7 Compare July 27, 2026 15:38
@geooo109
geooo109 merged commit 1fd3bb9 into main Jul 27, 2026
8 checks passed
@geooo109
geooo109 deleted the geooo109/opt_null branch July 27, 2026 16:19
PiyaDaswadkar pushed a commit to PiyaDaswadkar/sqlglot that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boolean complement simplifications change nullable SQL semantics

2 participants