Fluid Forge
Get Started
See it run
  • Local (DuckDB)
  • Source-Aligned (Postgres → DuckDB)
  • AI Forge + Data Models
  • GCP (BigQuery)
  • Snowflake Team Collaboration
  • Declarative Airflow
  • Orchestration Export
  • Jenkins CI/CD
  • Universal Pipeline
  • 11-Stage Production Pipeline
  • Catalog Forge End-to-End
CLI Reference
  • Overview
  • Quickstart
  • Examples
  • Your own CI
  • Your own scaffolding
  • Custom validator
  • Apply hook
  • Reference
Demos
  • Overview
  • Architecture
  • GCP (BigQuery)
  • AWS (S3 + Athena)
  • Snowflake
  • Local (DuckDB)
  • Custom Providers
  • Roadmap
GitHub
GitHub
Get Started
See it run
  • Local (DuckDB)
  • Source-Aligned (Postgres → DuckDB)
  • AI Forge + Data Models
  • GCP (BigQuery)
  • Snowflake Team Collaboration
  • Declarative Airflow
  • Orchestration Export
  • Jenkins CI/CD
  • Universal Pipeline
  • 11-Stage Production Pipeline
  • Catalog Forge End-to-End
CLI Reference
  • Overview
  • Quickstart
  • Examples
  • Your own CI
  • Your own scaffolding
  • Custom validator
  • Apply hook
  • Reference
Demos
  • Overview
  • Architecture
  • GCP (BigQuery)
  • AWS (S3 + Athena)
  • Snowflake
  • Local (DuckDB)
  • Custom Providers
  • Roadmap
GitHub
GitHub
  • Introduction

    • Home
    • Getting Started
    • Snowflake Quickstart
    • See it run
    • Forge Data Model
    • Vision & Roadmap
    • Playground
    • FAQ
  • Concepts

    • Concepts
    • Builds, Exposes, Bindings
    • What is a contract?
    • Quality, SLAs & Lineage
    • Governance & Policy
    • Agent Policy (LLM/AI governance)
    • Providers vs Platforms
    • Fluid Forge vs alternatives
  • Data Products

    • Product Types — SDP, ADP, CDP
  • Walkthroughs

    • Walkthrough: Local Development
    • Source-Aligned: Postgres → DuckDB → Parquet
    • AI Forge And Data-Model Journeys
    • Walkthrough: Deploy to Google Cloud Platform
    • Walkthrough: Snowflake Team Collaboration
    • Declarative Airflow DAG Generation - The FLUID Way
    • Generating Orchestration Code from Contracts
    • Jenkins CI/CD for FLUID Data Products
    • Universal Pipeline
    • The 11-Stage Pipeline
    • End-to-End Walkthrough: Catalog → Contract → Transformation
  • CLI Reference

    • CLI Reference
    • fluid init
    • fluid demo
    • fluid forge
    • fluid skills
    • fluid status
    • fluid validate
    • fluid plan
    • fluid apply
    • fluid generate
    • fluid generate artifacts
    • fluid validate-artifacts
    • fluid verify-signature
    • fluid generate-airflow
    • fluid generate-pipeline
    • fluid viz-graph
    • fluid odps
    • fluid odps-bitol
    • fluid odcs
    • fluid export
    • fluid export-opds
    • fluid publish
    • fluid datamesh-manager
    • fluid market
    • fluid import
    • fluid policy
    • fluid policy check
    • fluid policy compile
    • fluid policy apply
    • fluid contract-tests
    • fluid contract-validation
    • fluid diff
    • fluid test
    • fluid verify
    • fluid product-new
    • fluid product-add
    • fluid workspace
    • fluid ide
    • fluid ai
    • fluid memory
    • fluid mcp
    • fluid scaffold-ci
    • fluid scaffold-composer
    • fluid scaffold-ide
    • fluid docs
    • fluid config
    • fluid split
    • fluid bundle
    • fluid auth
    • fluid doctor
    • fluid providers
    • fluid provider-init
    • fluid roadmap
    • fluid version
    • fluid runs
    • fluid retention
    • fluid secrets
    • fluid stats
    • fluid contract
    • fluid ship
    • fluid rollback
    • fluid schedule-sync
    • Catalog adapters

      • Source Catalog Integration (V1.5)
      • BigQuery Catalog
      • Snowflake Horizon Catalog
      • Databricks Unity Catalog
      • Google Dataplex Catalog
      • AWS Glue Data Catalog
      • DataHub Catalog
      • Data Mesh Manager Catalog
    • CLI by task

      • CLI by task
      • Add quality rules
      • Add agent governance
      • Debug a failed pipeline run
      • Switch clouds with one line
  • Recipes

    • Recipes
    • Recipe — add a quality rule
    • Recipe — switch clouds with one line
    • Recipe — tag PII in your schema
  • SDK & Plugins

    • SDK & Plugins
    • Quickstart — your first plugin
    • Examples

      • Runnable examples
      • Example: hello-scaffold — the minimal viable plugin
      • Example: gitlab-ci-scaffold — generate a complete CI project
      • Example: steward-validator — a custom governance rule
      • Example: prod-key-guard — apply-time invariant check
    • Journeys

      • Journeys
      • Your own CI/CD

        • You have your own CI/CD setup, no problem
        • GitLab CI — the bundle template
        • GitHub Actions — the bundle template
        • Jenkins — the bundle template
        • CircleCI — the bundle template
      • You have a strict project layout, no problem
      • You have governance rules, no problem
      • You want a check at apply time, no problem
    • Reference

      • Reference
      • Roles reference
      • Entry points reference
      • Trust model
      • Packaging
      • Companion packages
  • Providers

    • Providers
    • Provider Architecture
    • GCP Provider
    • AWS Provider
    • Snowflake Provider
    • Local Provider
    • Creating Custom Providers
    • Provider Roadmap
  • Advanced

    • Blueprints
    • Governance & Compliance
    • Airflow Integration
    • Built-in And Custom Forge Guidance
    • FLUID Forge Contract GPT Packet
    • Forge Discovery Guide
    • Forge Memory Guide
    • LLM Providers
    • Capability Warnings
    • LiteLLM Backend (opt-in)
    • MCP Server
    • Credential Resolver — Security Model
    • Cost Tracking
    • Agentic Primitives
    • Typed Errors
    • Typed CLI Errors
    • Authoring Forge Tools
    • Source-Aligned Acquisition
    • API Stability — fluid_build.api
    • Guided fluid forge UX
    • V1.5 Catalog Integration — Architecture Deep-Dive
    • V1.5 + V2 Hardening — Release Notes
  • Project

    • Contributing to Fluid Forge
    • Fluid Forge Docs Baseline: CLI 0.8.3
    • Fluid Forge Docs Baseline: CLI 0.8.0
    • Fluid Forge Docs Baseline: CLI 0.7.11
    • Fluid Forge Docs Baseline: CLI 0.7.9
    • Fluid Forge v0.7.1 - Multi-Provider Export Release

BigQuery Catalog

Source-side catalog adapter for Google BigQuery. Reads INFORMATION_SCHEMA.TABLES, .COLUMNS, .TABLE_OPTIONS (description and labels), .KEY_COLUMN_USAGE + .CONSTRAINT_COLUMN_USAGE (PK/FK), and .PARTITIONS (partition keys + clustering keys for downstream dbt config emission).

Pairs with Dataplex for richer metadata (aspect-types, business glossary, lineage). Use BigQuery alone for projects without Dataplex enabled.

Install

pip install "data-product-forge[gcp]"

Adds google-cloud-bigquery and google-cloud-dataplex (one extra covers both adapters). Default install ships without them.

Privileges to grant

The adapter is read-only on metadata.

# Grant the project-level role that exposes INFORMATION_SCHEMA reads.
gcloud projects add-iam-policy-binding my-proj \
  --member="user:analyst@example.com" \
  --role="roles/bigquery.metadataViewer"

# (Or, on a single dataset:)
bq update --source-policy 'roles/bigquery.metadataViewer:user:analyst@example.com' \
  my-proj:analytics

metadataViewer is the minimum — it covers INFORMATION_SCHEMA.TABLES/COLUMNS/TABLE_OPTIONS and KEY_COLUMN_USAGE. No bigquery.dataViewer needed (the adapter never queries data tables).

Authentication methods

MethodWhen to useSetup
adc ★Default — Application Default Credentialsgcloud auth application-default login; the adapter inherits.
service_account_jsonCI / scripted runsPath to a service-account JSON key file.
service_account_emailWorkload identity (GKE / Cloud Run)Email of the workload-identity-bound service account.

★ adc is the recommended path. Works on every workstation that has gcloud installed, no extra config.

Setup

fluid ai setup --source bigquery --name bq-prod
# ? Catalog: bigquery
# ? Project: my-proj
# ? Auth method:
#   ★ adc (recommended)
#     service_account_json
#     service_account_email
# ? Default location: US           (or EU, asia-northeast1, ...)
# ? Default dataset:  analytics
# ✓ Saved to ~/.fluid/sources.yaml

Or env vars:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/sa.json    # only for service_account_json
gcloud auth application-default login                     # for adc

End-to-end demo

fluid ai setup --source bigquery --name bq-prod

fluid forge data-model from-source \
  --source bigquery \
  --credential-id bq-prod \
  --database my-proj --schema analytics \
  --technique dimensional \
  -o analytics.fluid.yaml

fluid generate transformation analytics.fluid.yaml -o ./dbt_analytics --dbt-validate

What lands where

BigQuery sourceForge output
Table descriptionOSIDataset.fields[].expression.description
Column descriptionOSIDataset.fields[].expression.description
Primary keyOSIDataset.primary_key[]
Foreign keyOSIRelationship[]
Table labels (domain etc.)metadata.domain + industry hint
Partition columndbt partition_by config in TransformPlan
Clustering keysdbt cluster_by config
Table description (TABLE_OPTIONS)metadata.lineage.upstream[] (when description references upstream)

Project IDs with hyphens are honored

BigQuery project IDs allow hyphens (e.g. my-proj). The adapter's identifier validator allows hyphens in the project segment but NOT in dataset / table names (BigQuery rejects them there). Dataset and table names follow the standard ^[A-Za-z_][A-Za-z0-9_]*$ pattern.

Common errors

CatalogConfigError: google-cloud-bigquery missing

Run pip install "data-product-forge[gcp]".

CatalogPermissionError: bigquery.tables.get denied

Suggestion list contains the IAM binding command:

gcloud projects add-iam-policy-binding my-proj \
  --member="user:analyst@example.com" \
  --role="roles/bigquery.metadataViewer"

CatalogConnectionError: 404 Not found: Dataset my-proj:analytics

Verify the dataset exists in the configured project's location. Datasets are location-scoped — a US dataset is invisible from an EU client unless the location is set correctly.

Want lineage / glossary / quality scores

Pair with the Dataplex adapter — same project, same auth, complementary metadata coverage.

See also

  • Catalog index
  • Dataplex catalog — semantic + governance overlay
  • GCP provider page — for the publish-target side.
Edit this page on GitHub
Last Updated: 4/26/26, 10:42 PM
Contributors: fas89, Claude Opus 4.7
Prev
Source Catalog Integration (V1.5)
Next
Snowflake Horizon Catalog