Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quickstart

Each quickstart is a self-contained directory you can run end to end. It brings up everything the use-case needs, runs a few useful queries, and captures the real output as committed evidence. These pages describe each one at a high level — what it shows and how it works — and link to the repo for the full config, compose files, queries, and captured output.

These are the user-facing source of truth for “how do I run SQE for X.” The rest of the book explains why SQE is built the way it is; the quickstarts show how to use it.

What’s possible

Catalog + authentication (local Docker stack)

QuickstartWhat it showsStatus
Polaris + Keycloak (client credentials)Polaris + Keycloak; SQE mints user tokens via the OIDC password grantvalidated
Polaris + Keycloak (user token)Same stack; clients bring a pre-minted Keycloak token, SQE validates + passes it throughvalidated
Project NessieNessie as the Iceberg REST catalog (auth-less, anonymous SQE)validated
Unity Catalog OSSUnity Catalog OSS over Iceberg REST (read-only; catalog-browse demo)validated

AWS managed catalogs (CDK bootstrap + teardown)

QuickstartWhat it showsStatus
AWS S3 TablesAWS S3 Tables (managed Iceberg); CDK bootstrap + teardown; SQE creates the namespacevalidated
AWS GlueAWS Glue Data Catalog; SQE creates the DB and does a full round-tripvalidated
AWS Glue + Lake FormationGlue governed by Lake Formation: denied until an explicit LF grant, then succeedsvalidated

Embedded (single binary, sqe-cli)

QuickstartWhat it showsStatus
Query local and remote filesRead files directly with the read_* TVFs (no server, no catalog)validated
Persistent local catalog (SQLite)Local persistent Iceberg catalog backed by SQLite (no server)validated
Attach multiple catalogsAttach several persistent catalogs and JOIN across themvalidated
Quack (DuckDB wire protocol)SQE’s DuckDB Quack RPC endpoint, both directionsexperimental

Operations

QuickstartWhat it showsStatus
Observability: metrics + GrafanaScrape SQE’s Prometheus metrics with VictoriaMetrics + Grafanavalidated

Benchmarks

QuickstartWhat it showsStatus
TPC-H / TPC-DS / SSBGenerate, load, and run the TPC suites against SQE with per-query timingsvalidated

How a quickstart is laid out

Each directory has a README.md (the why/how), a standalone docker-compose.yml, the annotated config, a run.sh that brings the stack up and captures output, the demo queries.sql, and an OUTPUT.md with the real captured result.

Run any of them from a clone of the repo:

cd quickstart/<name>
cp .env.example .env
./run.sh

All quickstarts live in the repo under quickstart/.