A BigQuery wrapper