Skip to content

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

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

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

Conversation

@pull

@pull pull Bot commented Jun 22, 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 : )

ovr and others added 3 commits June 22, 2026 18:09
#11134)

A multi-rolling-measure query reads the rollup through a `SELECT DISTINCT dim` key-generator over the time series — a grouped Aggregate with no aggregate expressions. The rolling optimizer matched its shape and rewrote it into a RollingWindowAggregate with an empty `rolling_aggs` list. Its executor builds
the per-bucket `had_values` mask only inside the rolling-aggregate loop, so an empty list leaves the mask empty and the output loop then indexes out of bounds: a panic on the current build, surfacing as "Sort expressions cannot be empty for streaming merge" on the DataFusion 46 executor.

Bail out of the rewrite when there are no rolling aggregates. The node runs as a
plain aggregate/range-join instead, producing the same dimension keys.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.