Skip to content

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

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

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

Conversation

@pull

@pull pull Bot commented Jul 13, 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 July 13, 2026 15:00
…1232)

The SQL API streaming path shipped rows across the JS->Rust native bridge as an array of row objects and rebuilt each `RecordBatch` cell-by-cell through per-cell Neon/NAPI downcasts (`JsValueObject::get`). This mirrors the row-oriented transport the `/load` path already replaced with a columnar JSON `Buffer`.

## Benchmark

Measured on a local Postgres (Docker) with a pre-loaded 10M-row `orders` table, streaming the **ungrouped** result through the SQL API to `psql`, so the data source is not the bottleneck (server-side seq-scan β‰ˆ 0.3s). **Server-side** = Cube `Load Request` duration (the streaming pipeline itself). The dimension-width axis mirrors our k6 benchmark (`status, user_id, product_id` + `dim1..dimN`).

### 10M rows

| dims | master (row + per-cell NAPI) | this PR (columnar + JSON) | speedup |
|-----:|-----------------------------:|--------------------------:|--------:|
| 3    | 18.2s                        | 12.4s                     | 1.47Γ—   |
| 8    | 37.9s                        | 23.9s                     | 1.58Γ—   |
| 16   | 65.9s                        | 42.7s                     | 1.54Γ—   |
| 32   | 173.6s                       | 98.7s                     | 1.76Γ—   |

### 2M rows

| dims | master | this PR | speedup |
|-----:|-------:|--------:|--------:|
| 3    | 4.0s   | 2.4s    | 1.68Γ—   |
| 8    | 7.5s   | 4.9s    | 1.53Γ—   |
| 16   | 13.1s  | 9.1s    | 1.44Γ—   |
| 32   | 34.3s  | 19.9s   | 1.72Γ—   |
* docs: document the new tab page launchpad and default view group setting (CUB-2304)

* docs: document the new tab page launchpad and its settings

* docs: address review β€” add workbooks/data-sources/REST/GraphQL links, drop redundant lines, fix reader address

* docs: use Explore (not Explorer) and link to the Explore page

* docs: fold new tab page into workbooks page between Tabs and Tab types; drop standalone page

* docs: add New tab page section to workbooks page and drop its nav entry

* CUB-2304: drop certified queries from the new-tab launchpad docs

* docs: update launchpad section for disabled no-match tabs and query-reuse framing
@pull pull Bot locked and limited conversation to collaborators Jul 13, 2026
@pull
pull Bot merged commit 6e9f853 into code:master Jul 13, 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.

2 participants