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

Cube 1.8.13 fixes a Top-N pushdown bug that could return the wrong groups on Trino

The failure did not throw an error: it could produce a plausible but incorrect ranking when ORDER BY and LIMIT landed in different query levels.

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

Cube Core 1.8.13 fixes a query-planning bug that could make a Top-N chart return arbitrary groups instead of the highest-valued groups when Cube’s SQL API pushed a filtered aggregate query to Trino or Presto. The October 25 release ships the correction as a CubeSQL fix.

Why the query could look valid and still be wrong

The reported failure involved a grouped aggregate that was filtered, sorted and limited—the shape generated by a BI Top-N visual. Cube placed ORDER BY inside a subquery, then applied the WHERE … IS NOT NULL filter and LIMIT at an outer level. As the reproduction explains, Trino can ignore an ORDER BY in a subquery when the limit is not at that same level.

That distinction changed the result rather than producing a database error. In the issue’s four-row sales example, the expected top two groups were gizmo 700 and gadget 370; the affected plan could instead return widget 330 and gadget 370. Trino emitted an “ORDER BY in subquery may have no effect” warning, but the query itself completed. The reporter reproduced the problem with Cube 1.7.16 and 1.8.6 against Trino 460; DuckDB happened to preserve the inner ordering in the same test.

What 1.8.13 changes

The merged fix and regression test keep the sort and limit together above the filter for this Top-N plan. Cube says a sort beneath a limit is no longer pushed below a filter, while a filter that Cube itself can execute still produces one pushed-down query carrying the filter, order and limit.

The pull request also states an important remaining boundary. If SQL pushdown is enabled but a filter can only run in DataFusion—for example, because the target dialect lacks a template for a function—the Cube query may no longer carry the ordering. Above Cube’s non-streaming row limit, the final Top-N operation can therefore select from an arbitrary slice rather than the complete ordered set.

What operators should check

Teams using Cube’s PostgreSQL-compatible SQL API over Trino or Presto should prioritize the 1.8.13 update when dashboards or agents generate filtered Top-N queries. They should also inspect Trino warnings and rerun representative rankings after upgrading, especially where calculated columns, null filters or dialect-specific functions are involved.

The larger lesson for analytics-agent deployments is that successful SQL execution is not enough. A semantic layer can generate syntactically accepted SQL whose nesting changes ranking semantics. Regression suites should assert the returned members and order—not merely that the query runs or returns the requested number of rows.

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.