← All Adapters
BigQuery logo

BIGQUERY

type: bigquery
FREE FOR INDIVIDUALSSUPPORTED (dbt + Sling)

Google's serverless, highly scalable data warehouse. Pay-per-query pricing makes it cost-effective for intermittent analytics.

DVT SUPPORT

FEDERATION SOURCE

read in federation models

FEDERATION TARGET

materialize federation results

DEFAULT TARGET

run full dbt projects against it

SEED TARGET

dvt seed --target loads here

DVT supports BigQuerybecause both dbt and Sling do: dbt drives standard materializations when it's your default target, Sling moves data in and out during federation. Connectivity for both layers is checked with dvt debug --all.

PREREQUISITES

Driver: google-cloud-bigquery — installed automatically by:

dvt sync

CONFIGURATION FIELDS

FIELDTYPEREQUIREDDEFAULTDESCRIPTION
typestringyesMust be `bigquery`
projectstringyesGCP project ID
datasetstringyesBigQuery dataset
locationstringnoUSBigQuery location (US, EU, etc.)
threadsintegerno4Number of parallel threads

PROFILES.YML EXAMPLE

my_project:
  target: bq_dev
  outputs:
    bq_dev:
      type: bigquery
      project: my-gcp-project
      dataset: analytics
      location: US
      threads: 4

SOURCES.YML EXAMPLE

sources:
  - name: gcp_data
    meta:
      connection: bq_dev
    database: raw_project
    schema: raw_dataset
    tables:
      - name: events
      - name: users

DBT ADAPTER FEATURES

When BigQuery is your default target, every standard dbt model runs through the official dbt adapter — all of its documented capabilities apply unchanged:

MATERIALIZATIONS

tableviewincrementalephemeralmaterialized_viewf_tablef_incremental

INCREMENTAL STRATEGIES

mergeinsert_overwritemicrobatch

NOTABLE CONFIGS

  • partition_by
  • cluster_by
  • hours_to_expiration
  • labels
  • service-account auth
Official dbt BigQuery adapter docs ↗

FEDERATION INCREMENTAL STRATEGIES

Strategies available when this engine is the target of a f_incremental model:

Append Delete+Insert Merge

KNOWN LIMITATIONS

  • Uses Application Default Credentials (ADC) — run `gcloud auth application-default login`