Skip to content

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

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

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

Conversation

@pull

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

waralexrom and others added 2 commits June 19, 2026 16:13
…ping rows (#11097)

* fix(cubejs-client-core): surface cubeSql error chunks instead of dropping rows

The cubesql endpoint streams JSONL (schema line, then data lines), and on a
post-processing failure appends a trailing `{ error }` chunk. The non-streaming
`cubeSql()` parser mapped every non-schema line through `JSON.parse(d).data`,
so the error line became an `undefined` phantom row and the failure was
silently swallowed — callers saw a "successful" result with a null row.

Classify each line and throw on an `error` chunk, mirroring how
`cubeSqlStream()` already handles it. Genuine parse failures still fall back to
the raw response body.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(cubejs-client-core): satisfy eslint in cubeSql error handling

Drop the `no-continue` violation by inverting the loop guard, and switch
the regression test's error strings to single quotes per the lint rule.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Jun 19, 2026
@pull pull Bot added the ⤵️ pull label Jun 19, 2026
@pull pull Bot merged commit 88e57d4 into code:master Jun 19, 2026
3 checks passed
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