kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
710 stars 48 forks source link

request: snowflake driver #23

Open bpugh-sch opened 1 year ago

bpugh-sch commented 1 year ago

It looks like snowflake has a go driver available: https://docs.snowflake.com/developer-guide/golang/go-driver

which would be a fantastic edition to this plugin. Thank you for your consideration!

bpugh-sch commented 1 year ago

I was reviewing the PR for BigQuery support and realized I don't have a full grasp of the architecture / getting the driver properly into the build process.

I have no experience in Go but can help contribute in Lua if someone might be able to walk me through the high-level concepts that need to be implemented. Thank you!

kndndrj commented 1 year ago

Hey @bpugh-sch, looks like the mentioned driver is pure go, so the implementation shouldn't be too difficult :)

If you want to impl3ment it yourself, I suggest you look into #22 (oracle and sqlserver) - the implementation is clearer here imo. Bigquery has some quirks which needed to be addressed first, so it's not the best example.

If you won't implement it, then I probably will at some point in the future, but don't expect it too soon :)

nikisix commented 9 months ago

+1 for a snowflake client