Documentation
¶
Overview ¶
Command bigquery is a stand-in for BigQuery's REST API and Google's token endpoint in the end-to-end lab: no Google project is at hand, and the free emulator cannot do dry runs. It serves HTTPS on :443 with a certificate from its own CA for bigquery.e2e.internal (reached through bastion, which resolves the lab alias), takes service account logins for the key it writes, answers dry runs and a few statements, and logs every job that runs (dry runs are not logged). It writes /e2e/ca.crt, the service account key /e2e/sa.json and the log /e2e/jobs.log, which the checks read with docker compose exec.
It checks komando's side of the protocol (login, TLS, --via, dry runs, what is sent and what never is), not BigQuery's SQL.