BigQuery Emulator is an open-source server implementation that replicates the behavior of Google Cloud’s BigQuery service locally, enabling developers to test and develop data workflows without connecting to the real cloud environment. Written in Go, it can run as a standalone binary, Docker container, or embedded library within test environments, making it highly flexible for different workflows. The emulator supports a large portion of the BigQuery API surface, including dataset management, query execution, and data ingestion, allowing applications to interact with it as if it were the real service. It uses SQLite as its underlying storage engine, with options for in-memory or persistent file-based databases depending on the use case. The system also implements many features of Google Standard SQL, including hundreds of functions and advanced query constructs, enabling realistic query testing.
Features
- Local emulation of BigQuery APIs for testing and development
- Standalone binary, Docker deployment, or embedded library usage
- SQLite-based storage with in-memory or persistent modes
- Support for Google Standard SQL with hundreds of functions
- Integration with Google Cloud Storage for data workflows
- YAML-based dataset seeding at startup