krangl icon indicating copy to clipboard operation
krangl copied to clipboard

Krangl DataFrame to SQL Insert Statement

Open robert-cronin opened this issue 5 years ago • 3 comments

I can retrieve data from a MySQL table:

...
val rs = stmt.executeQuery("select * from user");
// convert into DataFrame
val fromResultSet: DataFrame = DataFrame.fromResultSet(rs)
fromResultSet.print()

Is it possible to go the other way?

robert-cronin avatar Feb 12 '20 07:02 robert-cronin

you mean write support? It should not be that hard to do so. Would you be willing to contribute a PR or shall I have a look myself?

holgerbrandl avatar Feb 17 '20 11:02 holgerbrandl

Any news? I still like the idea and wonder if you would be willing to contribute a PR. :-)

holgerbrandl avatar Nov 05 '20 20:11 holgerbrandl

Hi. This Issue can be closed, PR is done :D.

OlivierCavadenti avatar Oct 06 '21 20:10 OlivierCavadenti