aljazerzen / connector_arrow

Apache Arrow database client for many databases.
https://docs.rs/connector_arrow
MIT License
37 stars 2 forks source link

Async support? #19

Open kylebarron opened 6 months ago

kylebarron commented 6 months ago

It looks like right now this crate is synchronous-only. Do you have any interest in expanding to async drivers? E.g. sqlx for postgres?

aljazerzen commented 6 months ago

Yes, this is possible to implement without a lot of trouble.

Database drivers that I'm currently using either:

So I don't think there even is a need for something heavy such as sqlx.


The biggest pain point will be a whole new API, ideally in a separate crate. I think that most of the code can be reused, since it preforms only sync work. The only thing that will need to be rewritten is implementation of the API, namely Connector, Statement, ResultRead and Append.

aljazerzen commented 6 months ago

This issue is not a priority for me atm, so if anyone else wants it implemented, upvote the issue.