Skip to content

fix(cubejs): retry Arrow without compression SET on readonly ClickHouse - #85

Open
akshaykumar2505 wants to merge 2 commits into
mainfrom
fix/cubejs-readonly-arrow
Open

akshaykumar2505 wants to merge 2 commits into
mainfrom
fix/cubejs-readonly-arrow

Conversation

@akshaykumar2505

Copy link
Copy Markdown
Member

Summary

  • Native ClickHouse ArrowStream was sending output_format_arrow_compression_method=none.
  • Readonly cube users cannot SET that (even to the current value), so dashboard format=arrow loads 500ed.
  • Retry the same query without the override.

Test plan

  • node --test src/utils/__tests__/clickhouseArrow.test.js test/loadExport.test.js
  • Live POST /api/v1/load with format=arrow on a readonly ClickHouse cube returns 200

Native ArrowStream set output_format_arrow_compression_method=none. Readonly
cube users cannot SET that, so dashboard format=arrow loads 500ed. Retry the
same query without the override.
The wrapped Cube driver has no ClickHouse exec client, so native ArrowStream
threw TypeError. Catch that and stream semantic Arrow so format=arrow still
succeeds for readonly cubes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant