Add SQLite backend - #864
Open
phdoerfler wants to merge 2 commits into
Open
Conversation
phdoerfler
force-pushed
the
topic/sqlite-backend
branch
5 times, most recently
from
July 12, 2026 19:49
021ba0d to
bd80fa9
Compare
phdoerfler
marked this pull request as ready for review
July 12, 2026 19:58
Open
phdoerfler
force-pushed
the
topic/sqlite-backend
branch
from
July 14, 2026 12:30
5236471 to
8ebaad9
Compare
phdoerfler
force-pushed
the
topic/sqlite-backend
branch
from
July 17, 2026 13:42
8ebaad9 to
74fb76a
Compare
phdoerfler
force-pushed
the
topic/sqlite-backend
branch
4 times, most recently
from
August 20, 2026 10:44
9c6b1b8 to
b76b111
Compare
phdoerfler
force-pushed
the
topic/sqlite-backend
branch
from
August 28, 2026 11:19
b76b111 to
6a7d838
Compare
SQL Server emits OFFSET 0 ROWS after a root ORDER BY now, where it only did so in subqueries before.
phdoerfler
force-pushed
the
topic/sqlite-backend
branch
from
August 28, 2026 20:19
6a7d838 to
0881c6f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds SQLite as backend. SQLite does not support lateral joins, so
sql-corehad to be modified accordingly; that part is split out into #917, which this branch sits on top of. Merge #917 first, and this PR's diff shrinks to the new module and its test data. This work was partially done by Claude but it was kept on a tight leash and critically reviewed both from Claude itself and me. Care has been taken not to deviate too much from the other backend implementations despite needing to work around the lateral join limitation.This also opens the door for a H2 implementation which suffers from the same limitation as SQLite.
I also increased the timeout for munit because on my machine it did sporadically run into the default 30s timeout and that became old quickly.
null-ordering,nullable-parent,qualified-namesandunion-orderhave nosqlite.sql, so SQLite skips them.