-
Notifications
You must be signed in to change notification settings - Fork 109
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
[C] SQLite3 driver using nanoarrow #120
Comments
Yeah, I do want to rework the driver at some point, and nanoarrow would be part of that (the adaptive builder would be the other part). But so far, SQLite is the easiest one for me to use as a testbed (since I can pull in whatever junk I need from libarrow) so I've resisted refactoring. (Also, because I'm focusing on the Postgres and Flight SQL drivers as 'real' drivers.) But having SQLite be a 'real' driver would be useful! |
I'm going to try to pick this up soon - it'll be generally useful especially for docs and demos, just because SQLite is small |
Just a heads up that I added investigating this as part of my sprint task for the next two weeks ("actually try to use nanoarrow")...I figured this would be a good practical outlet for that and it seems like it might help with the R adbc work. |
@paleolimbot I have a branch available: https://github.com/lidavidm/arrow-adbc/tree/sqlite-nanoarrow |
PR is finally up at #196. Just need to shepherd it through CI (only tested so far on a macOS dev environment) |
I did a little prototyping around this to try to hit nanoarrow with some more real-world data...my interest in SQLite3 is mostly around the GeoPackage (https://geopackage.org), which is a common spatial file format based on SQLite3. The experiment is currently living in its own repo ( https://github.com/paleolimbot/minigpkg/blob/main/src/minigpkg/nanoarrow_sqlite3.h#L112-L127 ), and while I don't think I currently have the bandwidth to implement the ADBC API, I'd be happy to circle back to this at some point since an SQLite3 driver that depends only on sqlite3 seems like it would be useful here.
As noted in the current driver (https://github.com/apache/arrow-adbc/blob/main/c/drivers/sqlite/sqlite.cc#L139-L141), SQLite really needs an adaptive builder or an adaptive schema guesser to be useful.
The text was updated successfully, but these errors were encountered: