SchemaGate’s join-aware ranking helped on one large-schema test but hurt on others
Version 1.19.0 leaves the feature off by default. Its release results show why teams should measure whether the shortlist contains every required table, not just how many it finds on average.
SchemaGate v1.19.0, published November 23, adds an optional way to promote tables that join to other highly ranked tables when picking schema context for a SQL generator. The project left the feature off by default: it helped on one large-schema benchmark split, but hurt on two of the project’s own business-language evaluations.
A better shortlist on one split, a worse one elsewhere
The ranking change addresses a specific retrieval problem. A user’s question may name a business entity clearly enough to find one table without using any of the words that would surface a second table needed for the query. In the release notes, SchemaGate describes giving a candidate table a boost when it has join links to strong initial picks. The same mechanism can also amplify an early mistake: if those first picks are wrong, their neighbors can move ahead of relevant tables.
On the LiveSQLBench-Large split of Snowflake’s table-retrieval benchmark, the maintainers report that recall@10 rose from 64.9% to 74.9% with key inference enabled and the hashed embedder. The share of questions with every required table in the top ten rose from 40.4% to 52.7%. The release notes report unchanged results on the Spider, BIRD and BEAVER retrieval subsets and a slight decline on standard LiveSQLBench. On the project’s separate business-word tests, enabling the join boost at a weight of 0.25 cut recall from 46.7% to 33.3% on the clinical claims schema and from 58.3% to 33.3% on the claims warehouse schema. These are maintainer-reported results, not an independent rerun.
What to measure before turning it on
The tagged evaluation harness shows the distinction between the two headline metrics: it averages the fraction of reference tables retrieved per question for recall, but counts a question as a complete hit only if all its reference tables are present. Neither metric tells you whether generated SQL runs or yields the right answer. If you’re considering the option, compare it with the default on your own questions at the same shortlist size. Break out questions that need multiple tables, and measure complete retrieval and downstream answer correctness separately. The release makes a case for testing join-aware ranking on crowded schemas, not for switching it on everywhere.
sources
- SchemaGate v1.19.0 release notes and reported resultsgithub.com
- GitHub release metadataapi.github.com
- SchemaGate v1.19.0 tagged table-retrieval evaluation harnessraw.githubusercontent.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026