partiql-lang-kotlin icon indicating copy to clipboard operation
partiql-lang-kotlin copied to clipboard

JDBC Support

Open xadesai opened this issue 5 years ago • 4 comments

Are there any plans to support JDBC?

xadesai avatar May 08 '20 18:05 xadesai

We don't have plans to do so at the moment. Of course, we do accept pull requests.

I am aware of some discussion in the past about making a JDBC driver. At least two areas of challenge (if I recall correctly) were that hierarchical data isn't a natural fit for JDBC, and that mapping Ion's data types to JDBC types would be non-trivial.

dlurton avatar May 08 '20 22:05 dlurton

Hi David, Thank you for your response. 

I didn't understand "we do accept pull requests".  Is that about http requests?

Thanks, Amit

On Friday, May 8, 2020, 6:05:13 PM EDT, David Lurton <[email protected]> wrote:  

We don't have plans to do so at the moment. Of course, we do accept pull requests.

I am aware of some discussion in the past about making a JDBC driver. At least two areas of challenge (if I recall correctly) were that hierarchical data isn't a natural fit for JDBC, and that mapping Ion's data types to JDBC types would be non-trivial.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

xadesai avatar May 09 '20 16:05 xadesai

Hi David, Thank you for your response. I didn't understand "we do accept pull requests". Is that about http requests? Thanks,

That was more of an invitation. We would be delighted to review an implementation and incorporated it. :)

therapon avatar May 11 '20 17:05 therapon

I've started on some work on this here: https://github.com/hatf0/partiql_jdbc. Currently there's a lot of functionality missing (and it currently only builds via ~~Maven~~gradle, subject to change), however, it's definitely functional as a prototype. There are examples on how to use here (within the unit tests). I'm slowly building out more and more functionality, and I'd love any/all feedback.

rv32ima avatar Oct 20 '20 22:10 rv32ima