-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rust): add the driver manager #1803
Conversation
CC @mbrobbel |
CI is broken because we need the SQLite driver dynamic library in path to successfully run doctests... I have no idea how we can do that. Is there any similar situation elsewhere? |
You could consider DuckDB too? It supports ADBC in the DuckDB library itself so you can just download and point to it standalone without having to build anything else from this repo. |
Yes I could do that but I also have integration tests against SQLite and PostgreSQL drivers so I ideally would prefer to build those as part of the CI. Related question: shouldn't we release compiled library for drivers too? |
Release them where? That's always the problem :) There is native-unix.yml which is set up to build drivers in one portion of the pipeline then share them across several builds. |
To be honest, I haven't given the question too much thought 😃
Nice, I'll look into it. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
7ad9c26
to
5b0ff9a
Compare
Sorry, this missed the last release...it'll be in the next one |
@mbrobbel are we all good here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI LGTM, though, maybe we should think about refactoring things at some point (since not all the jobs in native-unix/native-windows need to run for Rust-only changes). Though, it's hard to do this without a unified build dependency graph, and at some point I assume Rust will feed back into the other builds...
CI still needs some work, I haven't managed to make it work yet. I should be able to work on it in the next few days. Yeah I agree with you that the current approach is a bit brute-force and will need refactoring at some point. |
c6dee0b
to
9bef652
Compare
CI is now working on macOS and Ubuntu. Unfortunately I'm not at all familiar with Windows and would need some help to figure it out. Basically, we need to set the equivalent of |
This reverts commit 1e50b4a.
Hey!
Here is the penultimate PR containing the driver manager for Rust.
The last PR will contain all the integration tests.