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
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.