cube-js/cube

Dremio: Add support for Arrow Flight JDBC driver

Open

#8,829 opened on Oct 17, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (1,965 forks)batch import
driver:dremiohelp wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 4d 17h) (136 merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe.

We currently use Dremio as our backend and while the RESTful driver provided by the community works, the Arrow Flight JDBC driver should be significantly more performant especially with larger volumes of data

Describe the solution you'd like

Extend the jdbc cube driver to use org.apache.arrow.driver.jdbc.ArrowFlightJdbcDriver

Describe alternatives you've considered

A possible alternative is creating another bespoke Dremio driver that calls Dremio using the Flight RPC protocol directly, rather than using the JDBC wrapper. I think this is possible in node - there's a wrapper that calls to an implementation in Rust, iirc

Contributor guide