Skip to content

[pull] master from cube-js:master#566

Merged
pull[bot] merged 8 commits into
code:masterfrom
cube-js:master
Jun 30, 2026
Merged

[pull] master from cube-js:master#566
pull[bot] merged 8 commits into
code:masterfrom
cube-js:master

Conversation

@pull

@pull pull Bot commented Jun 30, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

FlipEnergy and others added 8 commits June 30, 2026 15:48
…ia match-only mode (#11178)

The pre-aggregation refresh/metadata path (e.g. the `/cubejs-system/v1/pre-aggregations`
API) builds a query from a rolling pre-agg's references (rolling measure + a time
dimension with granularity, but no date range) and calls `CompilerApi.getSql()`, which
500s. `getSql()` eagerly builds both `.sql` (`buildSqlAndParams`, discarded by the refresh
path) and `.preAggregations`; on dialects without generated time series the native
matching itself also throws, because `findPreAggregationForQueryRust` builds the full outer
SQL — including the rolling-window time series, which requires a date range — just to
compute the match.
#11179)

A measure referenced only in ORDER BY (not in the selected measures) cannot be served from a pre-aggregation read: CubeStore's DataFusion rejects an ORDER BY that aggregates a rollup column which isn't in the SELECT projection, failing with e.g. `No field named e_commerce___t_a_external.ec__total_profit`.
#11181)

When an ungrouped query matched a pre-aggregation, the measure was rendered
through the ungrouped measure nodes without the pre-aggregation reference
substitution, so it emitted the measure's base-table SQL (e.g. the raw
`amount` column) instead of the stored rollup column. Reading the rollup then
failed with a schema error like `No field named big_e_commerce.sales`.

Wrap the ungrouped measure nodes with the pre-aggregation reference map when
reading from a rollup. Unlike the grouped case the stored column already holds
the aggregated value and is returned as-is, so it is a plain column reference
with no `sum()` wrap.
#11185)

* docs(embedding): document iframe events & actions postMessage contract

Add a new "Events & actions" page under Iframe embedding documenting the
embed↔host postMessage contract: the message envelope, the 8 outbound
events (ready, view, navigate, dashboard-loaded, download, drilldown,
ai-query, error) with payloads and examples, the 6 inbound actions
(set-color-scheme, set-theme, set-locale, set-filter, navigate, refresh),
surfaces, origin-validation security guidance, and a complete vanilla-JS
host example. No SDK required — plain window.postMessage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* docs(embedding): format event payload examples one field per line

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* docs(embedding): address review — Note callout, surface clarity, embedTheme naming

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Add a Localization page covering the supported languages, the account-wide
default (Embed → Settings → Language), the per-embed ?locale= URL parameter,
and the runtime cube:action:set-locale override, with the precedence order
between them. Cross-link from the dashboards, events, and customization pages
and register the new page in docs.json.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Jun 30, 2026
@pull pull Bot added the ⤵️ pull label Jun 30, 2026
@pull pull Bot merged commit 6e5c98f into code:master Jun 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants