A Flyte SDK (v2) version of this plugin is available as flyteplugins-bigquery.
Bigquery
flytekitplugins-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.
pip install flytekitplugins-bigqueryQuick Start(example, may need adjustment)
See full examplespip install flytekitplugins-bigquery
from flytekit import task, workflow
from flytekitplugins.bigquery import BigQueryConnector, BigQueryConfig, BigQueryTask
@task(task_config=BigQueryTask(...))
def my_task() -> None:
...
@workflow
def my_workflow() -> None:
my_task()Available Imports (3)
Backend connector for Bigquery.
from flytekitplugins.bigquery import BigQueryConnector
BigQueryConfig should be used to configure a BigQuery Task.
extends dataclass — configuration or data structure for plugin setup
from flytekitplugins.bigquery import BigQueryConfig
This is the simplest form of a BigQuery Task, that can be used even for tasks that do not produce any output.
extends SQLTask — a flyte task that can be used in workflows
from flytekitplugins.bigquery import BigQueryTask
Dependencies
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.
Snowflake
Run Snowflake SQL queries as Flyte tasks with parameterized inputs, key-pair authentication, batch inserts, and DataFrame support.
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.