Replies: 2 comments 4 replies
|
The C++ implementation hit unsolvable dependency issues, unfortunately. If you ever plan on using Protobuf, gRPC, or possibly arrow-cpp inside your application, it's possible you'll run into the same issues. Could you expand on the latency concern? I'm not sure how the Go runtime would add meaningful latency compared to, say, sending a query across the network to the cloud, waiting for it, and fetching the result. (If you're worried about the Go runtime taking resources from the host, we can explore ways to control that / gRPC-C++ itself effectively has a runtime with its own thread pools, too; and I'm not sure a driver built with either would be actually unloadable/dlclose-able due to global state.) That said, if there's enough contributors willing to maintain a C++ version of the Flight SQL driver, I don't think I'd say there's no possibility; I'd be curious if you plan on porting all the drivers, though, and what you envision for build/test/distribution. |
Another question I have is that the point of using ADBC, like ODBC before it, is so that you don't have to statically link the driver in. Instead you would use the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey folks,
I've been working on integrating ADBC into a StarRocks. The ADBC C API and driver manager are great, clean, embeddable, easy to work with.
The problem is that the moment you need an actual driver (Flight SQL, Snowflake, etc.), you hit a CGO dependency. For C++ query engines, this is a real friction point:
I know there was an earlier C++ Flight SQL driver attempt (apache/arrow#14082) that was dropped in favor of the Go implementation. Since then the c/driver/framework has matured a lot, and Arrow C++ Flight libraries are solid.
Would the community be open to pure C++ driver implementations, starting with Flight SQL? I'm an Arrow committer and happy to help the work, just want to check if this direction makes sense before diving in.
I never worked on this library before, so there are a lot of experienced people here to guide me at least.
All reactions