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 17:40:28 UTC

[GitHub] [arrow] jacobmarble opened a new issue, #15206: Implementation of `database/sql` driver

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

   ### 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] jacobmarble commented on issue #15206: [Go][FlightSQL] Implementation of `database/sql` driver

Posted by GitBox <gi...@apache.org>.
jacobmarble commented on issue #15206:
URL: https://github.com/apache/arrow/issues/15206#issuecomment-1372681426

   Sounds good to me. Or migrate this issue to the ADBC repo. 


-- 
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] zeroshade commented on issue #15206: [Go][FlightSQL] Implementation of `database/sql` driver

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

   To avoid some duplication of effort it would probably make sense to create a native-Go ADBC driver for Flight SQL which can be wrapped by the adbc/sqldriver *instead* of also making a Flight SQL driver for `database/sql` . 
   
   Thoughts @lidavidm / @jacobmarble ? If that makes sense we can create an issue in the arrow-adbc repo for the native Go Flight SQL driver and close this one.


-- 
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] lidavidm commented on issue #15206: [Go][FlightSQL] Implementation of `database/sql` driver

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

   #14082 is working on an ADBC driver for Flight SQL. Then the ADBC Go library would let you use it via CGO and database/sql. Of course, CGO is not ideal in many use cases, so a native-Go ADBC driver for Flight SQL would also be desirable (even if duplication of effort).


-- 
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