live wire
▸Databricks on AWS makes Genie Migrate’s T-SQL-to-Lakeflow conversion GA; an admin toggle is still requiredDatabricks documentation▸Snowflake previews serverless App Runtime for Python and Node.js; local app state disappears on stopSnowflake release notes▸Snowflake Code Bundles reach GA; named runs use the latest added version by defaultSnowflake release notes▸Fabric scalar T-SQL UDFs reach GA in Warehouse and SQL analytics endpoints, adding time-zone and clock supportMicrosoft Fabric Updates Blog▸Open BIRD Mini-Dev submission reports 89.13% with Claude Opus 5.5 and SQL repair; official lead stays at 87.27%Ashish Sinha / BIRD GitHub▸Microsoft Fabric previews F0 capacity with no upfront compute charge; data-agent and warehouse usage are meteredMicrosoft Fabric Updates Blog▸AWS Partner Central adds plain-language analytics over MCP and daily dataset delivery to S3AWS What's New▸A real-estate SQL agent study finds nine questions its dbt marts could not answerHerman Chan / GitHub▸QueryHub’s 92 SQL queries all ran, but a 30-day default made 10 answers wrong in its SQLite testQueryHub / GitHub▸Dex v1.18.5 reports unsupported Elementary releases as unchecked; incident CLI is deferredExmergo / GitHub▸BIRD-FanOut study cuts SQL overcount errors from 18.4% to about 13% on 229 selected train questionsAhmed M. Mahran / arXiv▸dbt remote MCP lets read-only users query metrics with a shared warehouse credentialdbt Labs documentation▸SchemaGate drops unqualified BIRD Mini-Dev No. 1 claim after benchmark updateSchemaGate / GitHub▸Databricks previews AI_MASK v2 with built-in classifiers and per-row errors; v1 stays the defaultDatabricks documentation▸Databricks on AWS makes Genie Migrate’s T-SQL-to-Lakeflow conversion GA; an admin toggle is still requiredDatabricks documentation▸Snowflake previews serverless App Runtime for Python and Node.js; local app state disappears on stopSnowflake release notes▸Snowflake Code Bundles reach GA; named runs use the latest added version by defaultSnowflake release notes▸Fabric scalar T-SQL UDFs reach GA in Warehouse and SQL analytics endpoints, adding time-zone and clock supportMicrosoft Fabric Updates Blog▸Open BIRD Mini-Dev submission reports 89.13% with Claude Opus 5.5 and SQL repair; official lead stays at 87.27%Ashish Sinha / BIRD GitHub▸Microsoft Fabric previews F0 capacity with no upfront compute charge; data-agent and warehouse usage are meteredMicrosoft Fabric Updates Blog▸AWS Partner Central adds plain-language analytics over MCP and daily dataset delivery to S3AWS What's New▸A real-estate SQL agent study finds nine questions its dbt marts could not answerHerman Chan / GitHub▸QueryHub’s 92 SQL queries all ran, but a 30-day default made 10 answers wrong in its SQLite testQueryHub / GitHub▸Dex v1.18.5 reports unsupported Elementary releases as unchecked; incident CLI is deferredExmergo / GitHub▸BIRD-FanOut study cuts SQL overcount errors from 18.4% to about 13% on 229 selected train questionsAhmed M. Mahran / arXiv▸dbt remote MCP lets read-only users query metrics with a shared warehouse credentialdbt Labs documentation▸SchemaGate drops unqualified BIRD Mini-Dev No. 1 claim after benchmark updateSchemaGate / GitHub▸Databricks previews AI_MASK v2 with built-in classifiers and per-row errors; v1 stays the defaultDatabricks documentation
nl2sql.ai
analysisPRODUCTION PRACTICE

Who fixes a wrong SQL-agent answer? Start by replaying it

Give the next owner the failed query, the original access scope and a test that tells them whether the fix worked.

By The News Desk· Nov 24, 2026the quick take — two AI hosts go live when you do

A SQL agent gives a wrong number. Before editing its prompt, replay the question against the data the agent was allowed to see. If a human cannot compute the answer under those conditions, the data contract may be at fault. If the human can, compare the generated SQL with that reference. And if the reference itself is disputed, don’t use it to grade the agent until a metric owner settles what the question means. Alation’s Nov. 24 essay argues for routing fixes to the layer that caused the error. Here is a proposed handoff for teams that want to put that advice into practice.

Open one ticket that another owner can replay

Record the original question and answer, generated SQL and warehouse query ID if available, execution time and time zone, and the effective role and allowed tables. Add the expected number, who supplied it, and the metric definition in force at the time. Keep sensitive rows out of the ticket; attach an access-controlled replay or a small, sanitized fixture instead. Ask the incident lead to record three outcomes separately: can the role see enough data, does the approved reference match the definition, and does the agent match that reference on the same snapshot?

Route by the first failed check

Data-model owner: the answer is not available to the agent’s role. Hand over the approved objects, the missing field or relationship, and a reference query that demonstrates the gap. The owner can add a governed data path or document that the question should be declined; the acceptance test is a correct result under the intended role or an explicit refusal. In the real-estate evaluation we covered, maintainers reproduced all nine previously unavailable frozen answers after extending the marts. That checks the known cases, not generalization to an untouched holdout.

Agent owner: the reference works but the generated SQL disagrees. Give them both queries, a minimal set of rows that exposes the difference, and the first incorrect decision: for example, selecting project rows for a permit-level metric. Require the original case to pass and add a neighboring question that legitimately needs project grain, so the repair cannot pass by always choosing permits.

Metric or evaluation owner: the reference disagrees with the definition. Attach the old result, the candidate replacement, and the rule each query implements. In the BIRD-FanOut gold-query audit, §4 and Figure 5, training question 9279’s reference counted 404 rentals across 15 inactive customers. Counting distinct customers reduced the answer to 15; the subsequent review added the missing requirement that the rental had not been returned, reducing it to four. That is an audited reference case, not the paper’s illustrative shipping-fee example. Our benchmark coverage explains the wider audit. In production, have the metric owner sign off on both the counted entity and the qualifying filter, then version the reference and regrade affected runs before treating the incident as a model regression.

Close the ticket with the owner’s decision, a link to the change, and the replay result. If the answer was already distributed, record which consumers received it and which corrected result replaces it. Passing the replay closes this incident; passing fresh cases is a separate release check.

Filed by The News 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.