live wire
▸Snowflake’s Cortex Agent quickstart routes metrics and transcripts with prompt rules—but documents no authorization boundarySnowflake▸Oracle Select AI generates SQL/PGQ for property graphs—but errors if one AI profile mixes graphs with tables or viewsOracle▸Domo’s data team standardizes MCP builds with shared scaffolding; beta toolkits inherit user permissionsDomo▸Databricks proposes five outcome signals for agentic BI—and says dashboard counts and license usage miss decision qualityDatabricks▸One vibe-coded database app needed 56+ human test hours and three repair rounds despite AI Studio’s verification claimsMancas & Mancas / arXiv▸BigQuery AI.IF’s default cost mode trains a local model for most rows—and drops row-error thresholdsGoogle Cloud▸AWS’s multi-tenant data-agent pattern gives the broker Lambda no data permissions; Cognito roles carry Lake Formation scopeAWS Big Data Blog▸Amazon OpenSearch’s optimized engine adds nested agent traces, but AWS reserves it for log analytics—not vector searchAWS▸Two interpretation-based provenance semantics cannot express SQL bag difference, new theorem showsKolaitis / arXiv▸Databricks Feature Views reuse one definition for training and live scoring, but online lookup still returns latest available stateDatabricks▸Databricks Genie’s Slack and Teams previews default channel answers to public, even when viewers lack source-data accessDatabricks▸Snowflake’s two-tool GraphRAG agent beat a seven-tool graph setup 70% to 60% on 22 ontology questionsSnowflake Engineering▸Semantix opens an Apache-2.0 semantic-first data-agent stack, but labels the project WIP and has no release or adoption yetGitHub / icosmos-space▸Confluent defines Streamhouse as shared current state for agents and apps, but says broader semantics and governance are still to comeConfluent▸Snowflake’s Cortex Agent quickstart routes metrics and transcripts with prompt rules—but documents no authorization boundarySnowflake▸Oracle Select AI generates SQL/PGQ for property graphs—but errors if one AI profile mixes graphs with tables or viewsOracle▸Domo’s data team standardizes MCP builds with shared scaffolding; beta toolkits inherit user permissionsDomo▸Databricks proposes five outcome signals for agentic BI—and says dashboard counts and license usage miss decision qualityDatabricks▸One vibe-coded database app needed 56+ human test hours and three repair rounds despite AI Studio’s verification claimsMancas & Mancas / arXiv▸BigQuery AI.IF’s default cost mode trains a local model for most rows—and drops row-error thresholdsGoogle Cloud▸AWS’s multi-tenant data-agent pattern gives the broker Lambda no data permissions; Cognito roles carry Lake Formation scopeAWS Big Data Blog▸Amazon OpenSearch’s optimized engine adds nested agent traces, but AWS reserves it for log analytics—not vector searchAWS▸Two interpretation-based provenance semantics cannot express SQL bag difference, new theorem showsKolaitis / arXiv▸Databricks Feature Views reuse one definition for training and live scoring, but online lookup still returns latest available stateDatabricks▸Databricks Genie’s Slack and Teams previews default channel answers to public, even when viewers lack source-data accessDatabricks▸Snowflake’s two-tool GraphRAG agent beat a seven-tool graph setup 70% to 60% on 22 ontology questionsSnowflake Engineering▸Semantix opens an Apache-2.0 semantic-first data-agent stack, but labels the project WIP and has no release or adoption yetGitHub / icosmos-space▸Confluent defines Streamhouse as shared current state for agents and apps, but says broader semantics and governance are still to comeConfluent
nl2sql.ai
benchmarkBenchmark analysis

Prompting database constraints is not enforcement: 120 SQL trials show why

A controlled probe of Claude Sonnet 5 and GPT-5.6-Terra found that unstated rules were ignored every time—and explicit rules usually produced silent failures or race-prone SQL.

By The Benchmark Desk· Oct 28, 2026the quick take — two AI hosts go live when you do

The result

A new database-systems paper puts a concrete number on a familiar production risk: generated SQL does not reliably preserve invariants that the database itself cannot enforce. The authors tested Claude Sonnet 5 and GPT-5.6-Terra on six update scenarios, running each model five times per scenario under two prompt conditions. That produced 120 inspected generations: 60 without the constraints stated and 60 with all six constraints written into the prompt. Primary paper

Without the constraints in the prompt, all 60 generations applied no check at all. The outputs were bare INSERT or UPDATE statements that would violate the intended invariant. This is not execution accuracy on BIRD or Spider; it is a small, controlled writer-safety probe over a synthetic schema. Its value is the failure taxonomy, not broad model ranking. Primary paper

Explicit rules changed the SQL—not the guarantee

When the six constraints were supplied explicitly, 40 of 60 generations used a silent restriction such as WHERE NOT EXISTS or a count predicate. A violating write would affect zero rows rather than raise a constraint-specific error, leaving detection to the caller. Another 15 used check-then-raise patterns. Under PostgreSQL’s default READ COMMITTED isolation, those checks can race with concurrent transactions and admit write skew. Four generations still provided no guard, and one returned an empty response. Primary paper

Only one of the 60 explicitly constrained trials used PostgreSQL SERIALIZABLE isolation with retries, the paper’s general solution for the concurrency race. Other outputs tried table locks, proxy-row locks or advisory locks. The strongest table-lock answer serialized writers across as many as seven of eight tables for one insert; the weaker conventions only worked if every writer followed the same protocol. Primary paper

The prompt also expanded the generated program substantially. For the shared person_id constraint, average output length rose from 16 words without constraints to 153 words with them. More generated enforcement logic created more places for silent behavior, placeholders and inconsistent locking choices. Primary paper

What practitioners should take from it

The evidence does not establish that these two model families fail on every integrity task: there are only six scenarios, five samples per model and no reported execution-based pass rate. It does establish a narrower point cleanly. A natural-language constraint list is not equivalent to a transactional database constraint, especially when multiple writers can race. Primary paper

The paper’s prototype response is a PostgreSQL constraint-index extension for multi-relation invariants. Across its evaluated workloads, it beats the better correctness-preserving baseline by up to 2.41× at 256 concurrent clients. That systems result is separate from the model probe, but the connection is practical: keep generated SQL simple, and place durable invariants at an enforcement boundary shared by every writer. Primary paper

Filed by The Benchmark Desk. Corrections: desk@nl2sql.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.