You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/05 20:16:49 UTC

[GitHub] [arrow-adbc] jacobmarble opened a new issue, #315: [Go][FlightSQL] Implementation of `database/sql` driver

jacobmarble opened a new issue, #315:
URL: https://github.com/apache/arrow-adbc/issues/315

   ### Describe the enhancement requested
   
   In Golang, the common way to query with a SQL database is by using the [`database/sql`](https://go.dev/src/database/sql/doc.txt) driver interface. For the user of `database/sql`, this interface is idiomatic, friendly, simple.
   
   `database/sql` is row-oriented, so not ideal for large column-oriented result sets, but certainly good enough for many common use cases.
   
   A FlightSQL driver implementation of `database/sql` would be very handy, and I didn't find any chatter about it in this repository. I did find [arrow-adbc/go/adbc/sqldriver](https://github.com/apache/arrow-adbc/tree/main/go/adbc/sqldriver). Thanks, as usual, to @zeroshade for this. 👋 
   
   So, unless I'm mistaken, this issue is just fodder for future GitHub search queries, and can be closed.
   
   ### Component(s)
   
   FlightRPC, Go


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] zeroshade commented on issue #315: [Go] Implement an ADBC driver for Flight SQL

Posted by GitBox <gi...@apache.org>.
zeroshade commented on issue #315:
URL: https://github.com/apache/arrow-adbc/issues/315#issuecomment-1372733317

   @lidavidm i'm taking a swing at this right now. I ended up having to make a small bit of modification to the ADBC implementation for go anyways to do this so I could reduce the complexity and ensure concurrency safety. I'll have a PR up likely tomorrow for this


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] lidavidm commented on issue #315: [Go] Implement an ADBC driver for Flight SQL

Posted by GitBox <gi...@apache.org>.
lidavidm commented on issue #315:
URL: https://github.com/apache/arrow-adbc/issues/315#issuecomment-1372698082

   Done!
   
   @zeroshade I might try to take a swing at this, though not now. Or let me know if you feel like picking this up. (Jacob, you're welcome to as well!)
   
   An interesting extension (for later) might also be to wrap the eventual Go driver in the ADBC C interface. Then you could package it as a lightweight, self-contained Flight SQL driver for other languages like Python and Ruby.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] zeroshade commented on issue #315: [Go] Implement an ADBC driver for Flight SQL

Posted by GitBox <gi...@apache.org>.
zeroshade commented on issue #315:
URL: https://github.com/apache/arrow-adbc/issues/315#issuecomment-1373751717

   @lidavidm I meant to comment: I love the idea of wrapping the Go driver in an ADBC C interface to package it as a self-contained flight sql driver. I'll plan on doing that after I get it working.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] zeroshade commented on issue #315: [Go] Implement an ADBC driver for Flight SQL

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on issue #315:
URL: https://github.com/apache/arrow-adbc/issues/315#issuecomment-1400629025

   Forgot to put the "closes" comment on the relevant PR, this was closed by #322 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] zeroshade closed issue #315: [Go] Implement an ADBC driver for Flight SQL

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #315: [Go] Implement an ADBC driver for Flight SQL 
URL: https://github.com/apache/arrow-adbc/issues/315


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org