Snowflake plugin

Tags: AWS, GCP, AliCloud, Integration, Advanced

Flyte can be seamlessly integrated with the Snowflake service, providing you with a straightforward means to query data in Snowflake.

Note

This is a legacy implementation of the Snowflake integration. We recommend using the Snowflake agent instead.

Installation

To use the Snowflake plugin, run the following command:

pip install flytekitplugins-snowflake

Flyte deployment configuration

If you intend to run the plugin on the Flyte cluster, you must first set it up on the backend. Please refer to the Snowflake plugin setup guide for detailed instructions.

Run the example on the Flyte cluster

To run the provided example on the Flyte cluster, use the following command:

pyflyte run --remote \
  https://raw.githubusercontent.com/flyteorg/flytesnacks/master/examples/snowflake_plugin/snowflake_plugin/snowflake_plugin_example.py \
  snowflake_wf --nation_key 10