databricks / databricks-sql-go

Golang database/sql driver for Databricks SQL.
Apache License 2.0
37 stars 41 forks source link

How to do bulk insert like 100K rows into databricks #194

Open ganeshkompella opened 8 months ago

ganeshkompella commented 8 months ago

I'm looking a way other than raw queries, also using prepared statements I'm able to insert only 1 entry at a time & that to using Parameter{Name: "value", Value: "100"})

is there any library to support bulk insert or any way ? I need some boilerplate code.

mroy-seedbox commented 8 months ago

Write your data into files. CSV or JSON are usually the easiest to handle. Then those are easy to load into Databricks.