Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowflake support #15

Open
brettrowberry opened this issue Apr 28, 2023 · 2 comments
Open

Snowflake support #15

brettrowberry opened this issue Apr 28, 2023 · 2 comments

Comments

@brettrowberry
Copy link

brettrowberry commented Apr 28, 2023

@plexus mentioned in his talk at ClojureConj 2023, BI and Reporting for Datomic, that it would be possible to have Plenish publish to Snowflake. How might one go about this?

@humorless
Copy link
Member

Hi @brettrowberry,

I do not have first hand experience on using Plenish with Snowflake. I heard some of my friends told me that the SQL of Postgres are quite similar to Snowflake, so I think you can first assume the subset of SQL that Plenish use are the same.

With the assumption, you can try like this:
(1) Use the example here.
(2) Read the README and setup most of the things, but change Postgres to Snowflake.
(3) You probably also need to change the deps.edn, so it can connect to Snowflake.
(4) Change this line.

@plexus
Copy link
Member

plexus commented May 2, 2023

In general plenish can be adapted to any jdbc compatible database that has an upsert operation. Currently things are hard coded to use postgres sql and data types, but a next iteration will likely add a level of abstraction so we can easily extend the number of databases we support.

Companies interested in specific target databases should get in touch with us at Gaiwan.co, ideally we can find multiple interested parties that want to contribute, so each can shoulder a small part of the development cost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants