Skip to content

Initial Snowflake support - #146

Open
tim-band wants to merge 25 commits into
mainfrom
snowflake
Open

tim-band wants to merge 25 commits into
mainfrom
snowflake

Conversation

@tim-band

@tim-band tim-band commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Can connect to a Snowflake database like so:

snowflake://TIM.BAND%40NHS.NET@ATKJNCU-LDS_DEV/OLIDS_SHARE_PSEUDO/OLIDS_PSEUDO?warehouse=SNOWFLAKE_LEARNING_WH&authenticator=externalbrowser

We can get the tables with the new flag datafaker make-tables --views-to-tables, but the PK and FK constraints don't come across.

Fixes #148

Comment thread pyproject.toml
ty = "^0.0.43"
colorama = "^0.4.6"
snowflake-sqlalchemy = "^1.11.1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add snowflake-connector-python = { version = ">=4.8,<5", optional = true, extras = ["secure-local-storage"] } here?

When I ran poetry run datafaker make-tables after setting SRC_DSN, I was prompted to install snowflake-connector-python[secure-local-storage] via pip install snowflake-connector-python[secure-local-storage].

@yhong123

Copy link
Copy Markdown
Collaborator

When running poetry run datafaker make-tables --force --views-to-tables, tables: in orm.yaml are populated.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

Snowflake timestamps cannot be written to destination

2 participants