live wire
▸Snowflake agent evals can pin judge versions; unpinned metrics may roll forward and shift scoresSnowflake▸ThoughtSpot makes Spotter 3 default for new instances; it requires download rights and always shares query data with an LLMThoughtSpot documentation▸MotherDuck adds image classification and object location to prompt_jev(), returning typed SQL outputs with confidence scoresMotherDuck▸BigQuery conversational analytics adds Montréal and Toronto; mixed-region agents still default to globalGoogle Cloud Documentation▸Fabric enables Azure OpenAI Copilot access by default, but OpenAI-subprocessor and cross-region processing/storage switches remain offMicrosoft Learn▸Snowflake Cortex Agents now continue by default when named tools are inaccessible, emitting warnings instead of failing the runSnowflake documentation▸Databricks Genie One can use group memberships to tailor answers, while Unity Catalog remains the access-control boundaryDatabricks documentation▸Fabric data agents can query Power BI models with Read alone; Build and workspace access are unnecessaryMicrosoft Learn▸Fabric data-agent Git configs expose column flags, but selecting a table still includes every columnMicrosoft Learn▸Google Data Agent Kit offers remote Spark kernels, but notebook exports can still move results into local Pandas or ArrowGoogle Cloud Documentation▸Cube says production analytics agents need explicit partial-result states, caller-filtered model search and durable artifactsCube▸Thinking Machines names Bridgewater behind ReViSQL-K2.6, citing 92.97% SC-16 accuracy at 15% of frontier-model costThinking Machines Lab▸AWS says a mismatched data/tool/prompt release cut its Field Sales agent pass rate from 78% to 38% in pre-productionAWS Artificial Intelligence Blog▸NL2SQL Multi-Agent ships evaluation artifacts across BIRD, CSpider, Archer and KDD DataSpace—but no software licenseGitHub▸Snowflake agent evals can pin judge versions; unpinned metrics may roll forward and shift scoresSnowflake▸ThoughtSpot makes Spotter 3 default for new instances; it requires download rights and always shares query data with an LLMThoughtSpot documentation▸MotherDuck adds image classification and object location to prompt_jev(), returning typed SQL outputs with confidence scoresMotherDuck▸BigQuery conversational analytics adds Montréal and Toronto; mixed-region agents still default to globalGoogle Cloud Documentation▸Fabric enables Azure OpenAI Copilot access by default, but OpenAI-subprocessor and cross-region processing/storage switches remain offMicrosoft Learn▸Snowflake Cortex Agents now continue by default when named tools are inaccessible, emitting warnings instead of failing the runSnowflake documentation▸Databricks Genie One can use group memberships to tailor answers, while Unity Catalog remains the access-control boundaryDatabricks documentation▸Fabric data agents can query Power BI models with Read alone; Build and workspace access are unnecessaryMicrosoft Learn▸Fabric data-agent Git configs expose column flags, but selecting a table still includes every columnMicrosoft Learn▸Google Data Agent Kit offers remote Spark kernels, but notebook exports can still move results into local Pandas or ArrowGoogle Cloud Documentation▸Cube says production analytics agents need explicit partial-result states, caller-filtered model search and durable artifactsCube▸Thinking Machines names Bridgewater behind ReViSQL-K2.6, citing 92.97% SC-16 accuracy at 15% of frontier-model costThinking Machines Lab▸AWS says a mismatched data/tool/prompt release cut its Field Sales agent pass rate from 78% to 38% in pre-productionAWS Artificial Intelligence Blog▸NL2SQL Multi-Agent ships evaluation artifacts across BIRD, CSpider, Archer and KDD DataSpace—but no software licenseGitHub
nl2sql.ai
releaseRelease

WrenAI 0.15.0 makes “top N” mean ranked N across MCP cube queries

The release adds orderBy to the agent-facing cube tool and fixes query-rewrite edge cases that could change or break generated SQL.

Unordered limit versus ordered top-N cube query.
Side by side: what changed
By The News Desk· Sep 21, 2026the quick take — two AI hosts go live when you do

WrenAI 0.15.0 closes a deceptively important gap in its agent-facing cube interface: an MCP client can now specify how a cube query should be ordered before applying a limit. The release also fixes several SQL-rewrite edge cases across supported warehouses.

A limit is not a ranking

Before this release, Wren’s cube engine already understood orderBy, but neither the wren cube query command nor the MCP query_cube tool exposed it. The merged implementation notes that the tool did expose limit, which meant a request such as “top five customers” could return an arbitrary five rows—or the earliest five under an existing time ordering—rather than the five largest values.

Version 0.15.0 adds an order_by argument to the MCP tool and a repeatable --order-by option to the CLI. Both accept member:direction specifications, with asc and desc validated by Wren’s core engine. Ordering and execution use the same query-building path, including the tool’s SQL-only mode. The tagged package also requires wren-core-py>=0.8.0, the binding version that carries the underlying cube-ordering support.

That is a correctness change, not just interface polish. In an agent workflow, LIMIT 5 can look plausible while answering the wrong question; adding explicit ordering turns the requested superlative into inspectable SQL with ORDER BY ... LIMIT 5.

The release tightens the rewrite boundary

The same release fixes wildcard detection for UNION, INTERSECT and EXCEPT. Previously, Wren’s rewriter inspected only the first branch of a set operation. A SELECT * in a later branch could therefore be missed, causing that branch to fall back to an explicit column list instead of passing wildcard visibility handling through Wren’s core layer. The fix walks every top-level branch while keeping nested subqueries in their own scope.

WrenAI 0.15.0 also repairs limit wrapping when input SQL ends in a line comment. In the affected connectors, putting the wrapper’s closing syntax and LIMIT on the same line allowed the trailing comment to consume them. The release lists fixes for BigQuery, DuckDB, PostgreSQL, Oracle, Redshift and Trino; the BigQuery and DuckDB patch adds a newline around the wrapped query and regression tests for the affected call sites.

For operators, the practical upgrade test is small: run a cube top-N request through the MCP tool, inspect the generated SQL for the expected ORDER BY, and include trailing-comment and set-operation cases in connector regression tests. Those checks target the precise boundaries changed in 0.15.0 rather than treating a successful tool call as proof that the ranking semantics survived translation.

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.