feat: Add Arrow Native (ADBC) Server Protocol#10297
Open
borodark wants to merge 105 commits intocube-js:masterfrom
Open
feat: Add Arrow Native (ADBC) Server Protocol#10297borodark wants to merge 105 commits intocube-js:masterfrom
borodark wants to merge 105 commits intocube-js:masterfrom
Conversation
14f9efa to
6f1c53f
Compare
PostgreSQL wire protocol (port 4444) was already working. This PR specifically introduces: - Arrow IPC native protocol (port 4445) - Optional query result cache
Port 4444 (PostgreSQL wire protocol) was already there. Port 4445 (Arrow IPC native) is what this PR introduces.
… MetaContext::new() Upstream added a second parameter `pre_aggregations: Vec<PreAggregationMeta>` to MetaContext::new() but the call in transport.rs wasn't updated. This fix: - Imports parse_pre_aggregations_from_cubes() function - Extracts pre-aggregations from cube metadata before creating MetaContext - Passes pre_aggregations as the 2nd parameter to MetaContext::new() Matches the implementation in cubesql's cubestore_transport.rs and service.rs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…l env performance fixes
6f1c53f to
6fe781d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Check List
Adds an Arrow Native server to CubeSQL that speaks Arrow IPC protocol on port 8120, enabling 8-15x faster data transfer compared to the REST HTTP API.
Closes #10296
What this PR does
Architecture
Configuration
Files Changed
Core Implementation (rust/cubesql/cubesql/src/):
Integration:
Example (examples/recipes/arrow-ipc/):
Testing
Ecosystem Compatibility
Tested with:
Checklist