This repo is sanitized (no client code/data). Use this mini flow to see the patterns.
- BigQuery Sandbox (free) in your Google account
- Cloud Shell or local
bqCLI (optional for the load step)
CREATE SCHEMA IF NOT EXISTS fx_demo;
CREATE TABLE IF NOT EXISTS fx_demo.events (
ts TIMESTAMP,
pair STRING,
px NUMERIC,
qty INT64,
src STRING
)
PARTITION BY DATE(ts)
CLUSTER BY pair;