Answers are grounded in this paper and cite their sources.
Benchmark study reveals high data leakage and low correctness across ten text-to-SQL architectures on an enterprise database, indicating standard execution metrics are misleading.
Enterprise text-to-SQL assistants are usually judged by whether the SQL runs. On a realistic company database that is misleading: a query can run and still be wrong, return rows the asker may not see, ignore a rule in a policy document, or answer a question that should be refused. We build a testbed (59-table oil-and-gas database with role-based access, an approval workflow, nine policy documents) and a gold set of 94 questions labelled with the correct answer, the asking role, and whether to answer or refuse. Scoring ten published architectures on answer correctness, data leakage, policy grounding, and refusal overturns the execution-success ranking: the declared winner is ninth of ten on correctness, every architecture leaks restricted data (37 to 52 percent), almost none refuse, and the best is right about half the time. Results are stable over three runs, and the winner's validator gate does not fix any of these failures. Data is synthetic. We release the testbed, gold set, and scorer.
No takes yet. Share an insight, caveat, or question.
Yagya Raj Sharma (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: