SnowflakeDialect #605
dmitchell
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote this snowflake dialect 5y ago and finally spent today moving it into a fork of this repo rather than a module in our project. IDK how to test it bc snowflake is purely hosted and there are no test containers. localstack makes a snowflake test container, but I'm sure you don't want to add that to this project esp since it's commercial.
If someone has ideas about how to test it, I'm all ears. My gut is to require envvars for credentials, host, warehouse, and schema. In their absence, just treat the tests as noops.
A slightly better approach would be to mock the db and compare the generated sql w "correct" sql, but
Beta Was this translation helpful? Give feedback.
All reactions