Skip to main content

Versatile Data Kit SDK plugin provides support for snowflake databases.

Project description

Versatile Data Kit Plugin for Snowflake Support

This plugin provides functionality, used by the Versatile Data Kit to interact with a Snowflake instance. Users of the plugin can connect to Snowflake, and execute queries against it.

Instalation

To install the plugin, open a terminal and type

pip install --upgrade vdk-snowflake

Usage

In order to use the plugin, once it has been installed, there are a few environment variables that need to be set.

The following environment variables are required:

\\ Set default database plugin to be used
VDK_DB_DEFAULT_TYPE=SNOWFLAKE

\\ Set the username that is to be used.
VDK_SNOWFLAKE_USER=<some_username>

\\ Set the password that is to be used.
VDK_SNOWFLAKE_PASSWORD=<user_password>

\\ Set the account name that is to be used.
\\ NOTE: Do NOT include the '.snoflakecomputing.com' part of the account name.
VDK_SNOWFLAKE_ACCOUNT=<account_name_provided_by_snowflake>

The following environment variables are optional, and can be overwritten from within the data job.

\\ The default warehouse to be used.
VDK_SNOWFLAKE_WAREHOUSE=<default_warehouse>

\\ The default database to be used.
VDK_SNOWFLAKE_DATABASE=<default_database>

\\ The default database schema to be used.
VDK_SNOWFLAKE_SCHEMA=<default_schema>

After configuring the environment variables, to use the plugin, create a data job, and add the queries you want to execute in .sql files. When the job executed, Versatile Data Kit will execute the queries in the order specified in the User Guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vdk-snowflake-0.2.415625538.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file vdk-snowflake-0.2.415625538.tar.gz.

File metadata

  • Download URL: vdk-snowflake-0.2.415625538.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for vdk-snowflake-0.2.415625538.tar.gz
Algorithm Hash digest
SHA256 50804d44f175294f262d28d6927accfd6b029734182946be77a0d9e8f0e63f7d
MD5 862f088d62d750767e9c62b8c0352f6c
BLAKE2b-256 f0da7a11db7edcc985bce75438402a5f7b94d538df6e269de563accb26d54565

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page