Snowflake agent
Union can be seamlessly integrated with the Snowflake service, allowing you to easily query data in Snowflake.
Installation
To use the Snowflake agent, run the following command:
pip install flytekitplugins-snowflake
Example usage
For a usage example, see Snowflake agent example.
Local testing
To test the MMCloud agent locally, create a class for the agent task that inherits from AsyncAgentExecutorMixin
. This mixin allows flytekit to mimic FlytePropeller's behavior in calling the agent.
Note
In some cases, you will need to store credentials in your local environment when testing locally.
Union cluster deployment
After you have finished testing the agent locally, contact the Union team to enable it in your cluster.