Skip to content

sqlsmith: extend harness and fix error handling#37562

Merged
def- merged 1 commit into
MaterializeInc:mainfrom
def-:sqlsmith-improvements
Jul 13, 2026
Merged

sqlsmith: extend harness and fix error handling#37562
def- merged 1 commit into
MaterializeInc:mainfrom
def-:sqlsmith-improvements

Conversation

@def-

@def- def- commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Propagate SQLsmith thread failures (OOM, bad return codes) instead of silently swallowing them, fix the broken --exclude-catalog flag, and lock the shared result aggregate.

Extend coverage: seed data with NULLs, edge values, an empty and a 10k row table, indexes, and list/map/array/range columns. Run two instances per server, every fourth one as an unprivileged role with RBAC checks enabled. Print SQLsmith's impedance stats so blacklisted grammar productions become visible.

Suppress the type-unification error family that the extended SQLsmith grammar (joins, GROUP BY, set ops, WITH MUTUALLY RECURSIVE, window functions) triggers. Using MaterializeInc/sqlsmith#7

Test runs: https://buildkite.com/materialize/release-qualification/builds/1310 & https://buildkite.com/materialize/nightly/builds/17150 (both green)

@def-
def- force-pushed the sqlsmith-improvements branch 4 times, most recently from 9674ffa to 7054033 Compare July 10, 2026 14:24
Propagate SQLsmith thread failures (OOM, bad return codes) instead of
silently swallowing them, fix the broken --exclude-catalog flag, and
lock the shared result aggregate.

Extend coverage: seed data with NULLs, edge values, an empty and a 10k
row table, indexes, and list/map/array/range columns. Run two instances
per server, every fourth one as an unprivileged role with RBAC checks
enabled. Print SQLsmith's impedance stats so blacklisted grammar
productions become visible.

Suppress the type-unification error family that the extended SQLsmith
grammar (joins, GROUP BY, set ops, WITH MUTUALLY RECURSIVE, window
functions) triggers. The grammar changes are in MaterializeInc/sqlsmith
and need a Dockerfile pin bump once merged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@def-
def- force-pushed the sqlsmith-improvements branch from 7054033 to 733d4ae Compare July 10, 2026 22:13
@def-
def- marked this pull request as ready for review July 11, 2026 06:39
@def-
def- requested a review from a team as a code owner July 11, 2026 06:39
@def-
def- requested a review from ggevay July 11, 2026 06:39
@def-
def- merged commit e6e8d5a into MaterializeInc:main Jul 13, 2026
16 checks passed
@def-
def- deleted the sqlsmith-improvements branch July 13, 2026 12:42
def- added a commit that referenced this pull request Jul 14, 2026
…oMs (#37630)

Seen in https://buildkite.com/materialize/test/builds/128284
Merge skew between
#37436 and
#37479
The sqlsmith one is fallout from
#37562, which of
course was green there and then immediately went OoM twice on main!
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.

2 participants