Flyte can be seamlessly integrated with the Snowflake service, providing you with a straightforward means to query data in Snowflake.
Install the plugin#
To use the Snowflake plugin, run the following command:
pip install flytekitplugins-snowflake
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.py \ snowflake_wf --nation_key 10