This is the Flyte SDK (v2) version of this plugin. The Flytekit version is available as flytekitplugins-snowflake.
Snowflake
flyteplugins-snowflake
Run Snowflake SQL queries as Flyte tasks with parameterized inputs, key-pair authentication, batch inserts, and DataFrame support.
pip install flyteplugins-snowflakeQuick Start(example, may need adjustment)
See full examplespip install flyteplugins-snowflake
from flytekit import task, workflow
from flyteplugins.snowflake import Snowflake, SnowflakeConfig, SnowflakeConnector
config = Snowflake(...)
@task
def my_task() -> None:
...
@workflow
def my_workflow() -> None:
my_task()Available Imports (3)
Metadata for a Snowflake query job.
extends dataclass — configuration or data structure for plugin setup
from flyteplugins.snowflake import Snowflake
Configure a Snowflake Task using a `SnowflakeConfig` object.
extends dataclass — configuration or data structure for plugin setup
from flyteplugins.snowflake import SnowflakeConfig
Backend connector for Snowflake.
from flyteplugins.snowflake import SnowflakeConnector
Related Plugins
BigQuery
This plugin provides BigQuery integration for Flyte, enabling you to run BigQuery queries as Flyte tasks.
Snowflake
Snowflake enables us to build data-intensive applications without operational burden. Flyte backend can be connected with the Snowflake service. Once enabled, it can allow you to query a Snowflake service.
Bigquery
BigQuery enables us to build data-intensive applications without operational burden. Flyte backend can be connected with the BigQuery service. Once enabled, it can allow you to query a BigQuery table.
Dolt
The DoltTable plugin is a wrapper that uses Dolt to move data between pandas.DataFrame’s at execution time and database tables at rest.