Google BigQuery is a serverless, highly scalable data warehouse.
Google BigQuery Python SDK is not compatible with gevent. Use a worker type other than gevent when deploying with gunicorn.
Installation
Required packages: sqlalchemy-bigquery
echo "sqlalchemy-bigquery" >> ./docker/requirements-local.txtConnection String
bigquery://{project_id} Authentication Methods
Supported Features
JOINsSubqueriesDynamic SchemaCatalog SupportDynamic CatalogSSH TunnelingQuery CancellationFile UploadUser ImpersonationCost EstimationSQL Validation
Time Grains
Common Time Grains:
SECONDMINUTEHOURDAYWEEKMONTHQUARTERYEAR
Troubleshooting
Common error messages you may encounter when connecting to or querying Google BigQuery, along with their causes and solutions.
Notes
Create a Service Account via GCP console with access to BigQuery datasets. For CSV/Excel uploads, also install pandas_gbq.
Resources