feat(cubestore): Support Arrow IPC response format#10819
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10819 +/- ##
===========================================
+ Coverage 58.09% 78.79% +20.69%
===========================================
Files 216 470 +254
Lines 16899 92179 +75280
Branches 3426 3436 +10
===========================================
+ Hits 9818 72634 +62816
- Misses 6578 19042 +12464
Partials 503 503
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Clients can opt in via `HttpQuery.response_format = Arrow` to receive results as a binary Arrow IPC stream wrapped in a new `HttpQueryResult` flatbuffer variant, instead of the legacy `HttpResultSet` where every cell is stringified. Default stays `Legacy`, so existing clients that don't set the flag keep getting `HttpResultSet` — no behavior change for them.
a5d775b to
b77cae2
Compare
|
Claude finished @ovr's task in 2m 16s —— View job Code Review: Arrow IPC Response Format
Overall AssessmentThis is a clean, well-structured feature addition. The design is solid — a new Correction on Prior ReviewThe earlier review comment about a union ordering wire-format break is incorrect. Looking at the actual diff and generated code:
Issues Found1.
|
… streaming Reserve an is_last bool on HttpQueryResultArrow so clients can implement frame-by-frame streaming once the server supports it. The server sets is_last=true today since it returns a single-frame payload.
63ad3ec to
878a22c
Compare
e6cf9c8 to
5f978b4
Compare
Clients can opt in via
HttpQuery.response_format = Arrowto receive results as a binary Arrow IPC stream wrapped in a newHttpQueryResultflatbuffer variant, instead of the legacyHttpResultSetwhere every cell is stringified.Default stays
Legacy, so existing clients that don't set the flag keep gettingHttpResultSet— no behavior change for them.