Calculate bootstrap confidence intervals in mostly standard SQL, for PostgreSQL and BigQuery.
Companion repo for this blog post.
First generate the example data, then run the calculations.
make example-data
make
postgres -D /usr/local/var/postgres
psql
make cloud-sql-instance
make cloud-sql-proxy
PSQL="psql postgres://postgres:$CLOUD_SQL_PGPASSWORD@localhost:5432" make pg-test benchmark-pg.csv
gcloud config configurations activate ...
gcloud config set project ...