# goccy/bigquery-emulator

BigQuery emulator server implemented in Go

Repository: https://github.com/goccy/bigquery-emulator
Canonical: https://ross.abutalabs.com/products/bigquery-emulator
Language: Go
License: MIT
License Family: permissive
Topics: go, bigquery, golang, emulator, google-cloud, gcp, google-cloud-platform
Last push: 2026-07-24T14:39:32+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 88, longevity 100
- inputs: {"age_days": 1535, "days_push": 40, "days_rel": 81, "gap_med": 12.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1134, forks 182 (observed 2026-08-28T04:03:42.959211+00:00)

## What it is
A BigQuery emulator server implemented in Go that runs a BigQuery-compatible API locally without needing a cloud project or credentials. It uses SQLite for storage, supports GoogleSQL query execution, and can run as a standalone binary, in Docker, or in-process with Go tests via httptest.

## Use cases
- run BigQuery queries locally without a GCP project
- test applications against a BigQuery-compatible API in CI
- develop and debug BigQuery SQL offline
- load seed data from YAML for integration tests
- use the bq CLI against a local fake BigQuery server
- test official BigQuery client libraries from Python, Java, Node.js, Ruby, or PHP

## When to choose
- you need fast, free local testing of BigQuery-dependent code
- you want to run integration tests in CI without cloud credentials
- you develop in a language with an official BigQuery client and need a local server endpoint

## When to avoid
- you need IAM policies, row access policies, copy jobs, external tables, table snapshots, or BigQuery ML
- you require exact parity with production BigQuery performance or full feature coverage
- you need a fully GA-supported emulator for critical production-like validation

## Facets
- artifact type: service
- maturity: active
- function: http-server, database, testing, developer-tools
- domain: databases, developer-tools, testing, cloud-computing
- platform: go, cli, cross-platform
- tags: bigquery, emulator, gcp, google-cloud, sqlite, local-testing, mock-server, docker

## Member repositories
- goccy/bigquery-emulator (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.959211+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:37:06.173154+00:00, confidence not recorded.
  - readme: https://github.com/goccy/bigquery-emulator (fetched 2026-08-28T04:03:42.959211+00:00, sha 8178e77cfcda)
- Data as of 2026-08-30T08:39:29.467469+00:00.
