Google Bigquery Plugin Setup

This guide gives an overview of how to set up BigQuery in your Flyte deployment. BigQuery plugin needs Flyte deployment in GCP cloud; sandbox/AWS/Azure wouldn’t work.

  1. Create a file named values-bigquery.yaml and add the following config to it. Please make sure that the propeller has the correct service account for BigQuery.

    # -- Tasks specific configuration [structure](
      # -- Plugins configuration, [structure](
        # -- [Enabled Plugins]( Enable sagemaker*, athena if you install the backend
        # plugins
          - container
          - sidecar
          - k8s-array
          - bigquery
          container: container
          sidecar: sidecar
          container_array: k8s-array
          bigquery: bigquery
  1. Upgrade the Flyte Helm release.

    helm upgrade -n flyte -f values-bigquery.yaml flyteorg/flyte
  2. Register the BigQuery plugin example.

    flytectl register files --archive -p flytesnacks -d development
  3. Lastly, fetch the launch plan, create and monitor the execution.

    flytectl get launchplan --project flytesnacks --domain development  <TODO:>  --latest --execFile exec_spec.yaml
    flytectl create execution --project flytesnacks --domain development --execFile exec_spec.yaml
    flytectl get execution --project flytesnacks --domain development <execution_id>