Directories
¶
| Path | Synopsis |
|---|---|
|
benchmarks
|
|
|
skew
Package skew generates the synthetic hot-key benchmark fixture for the adaptive skew-aware shuffle A/B (docs/design/skew-aware-shuffle.md, Phase 3).
|
Package skew generates the synthetic hot-key benchmark fixture for the adaptive skew-aware shuffle A/B (docs/design/skew-aware-shuffle.md, Phase 3). |
|
cmd
|
|
|
clickbench-bench
command
clickbench-bench runs the ClickBench 43-query suite against an embedded wadjet DB over local hits parquet parts, following the official methodology (https://github.com/ClickHouse/ClickBench):
|
clickbench-bench runs the ClickBench 43-query suite against an embedded wadjet DB over local hits parquet parts, following the official methodology (https://github.com/ClickHouse/ClickBench): |
|
plan-repro
command
plan-repro (formerly ./tmpdiag): zero-EC2 SF100 plan repro.
|
plan-repro (formerly ./tmpdiag): zero-EC2 SF100 plan repro. |
|
refault-probe
command
Command refault-probe is a field diagnostic for the §9 page-cache pressure sensor (internal/engine/memory/pressure_os.go).
|
Command refault-probe is a field diagnostic for the §9 page-cache pressure sensor (internal/engine/memory/pressure_os.go). |
|
s3probe
command
s3probe measures raw objstore.MinIOStore GET throughput against a bucket prefix at several concurrency levels.
|
s3probe measures raw objstore.MinIOStore GET throughput against a bucket prefix at several concurrency levels. |
|
security-bench
command
security-bench runs the security analytics benchmark against a Wadjet database.
|
security-bench runs the security analytics benchmark against a Wadjet database. |
|
spilltest
command
|
|
|
sqlancer-triage
command
Command sqlancer-triage classifies SQLancer soak-log output (and the wadjet server logs captured next to it) into genuine oracle violations, wadjet-crash echoes, and ordinary SQL-surface noise.
|
Command sqlancer-triage classifies SQLancer soak-log output (and the wadjet server logs captured next to it) into genuine oracle violations, wadjet-crash echoes, and ordinary SQL-surface noise. |
|
tpch-bench
command
tpch-bench runs the TPC-H benchmark against a Wadjet database.
|
tpch-bench runs the TPC-H benchmark against a Wadjet database. |
|
tpch-harness
command
|
|
|
tpch-seed
command
Command tpch-seed generates TPC-H data and loads it into an S3-compatible object store for reusable benchmarking.
|
Command tpch-seed generates TPC-H data and loads it into an S3-compatible object store for reusable benchmarking. |
|
wadjet
command
|
|
|
gen
|
|
|
internal
|
|
|
alerts
Package alerts implements CREATE ALERT DDL runtime: scheduler, sinks (webhook, alert_history table), and Prometheus metrics.
|
Package alerts implements CREATE ALERT DDL runtime: scheduler, sinks (webhook, alert_history table), and Prometheus metrics. |
|
auth
Package auth provides authentication and authorization for Wadjet's HTTP API.
|
Package auth provides authentication and authorization for Wadjet's HTTP API. |
|
benchnotify
Package benchnotify pushes benchmark lifecycle events to an SQS queue so an operator can watch a remote run with a blocking receive loop instead of grepping a remembered log format over SSM.
|
Package benchnotify pushes benchmark lifecycle events to an SQS queue so an operator can watch a remote run with a blocking receive loop instead of grepping a remembered log format over SSM. |
|
config
Package config provides YAML configuration loading for Wadjet.
|
Package config provides YAML configuration loading for Wadjet. |
|
coordinator
Package coordinator manages query planning, scheduling, and lifecycle tracking.
|
Package coordinator manages query planning, scheduling, and lifecycle tracking. |
|
dataplane
Package dataplane is the worker↔coord transport for high-rate task traffic that NATS JetStream is a poor fit for at scale: task dispatch, result batches, gather payloads, and per-task progress.
|
Package dataplane is the worker↔coord transport for high-rate task traffic that NATS JetStream is a poor fit for at scale: task dispatch, result batches, gather payloads, and per-task progress. |
|
distributed
Package distributed provides NATS-based distributed coordination.
|
Package distributed provides NATS-based distributed coordination. |
|
embedding
Package embedding provides text embedding via external APIs (OpenAI, Ollama).
|
Package embedding provides text embedding via external APIs (OpenAI, Ollama). |
|
engine/batch
Package batch provides the core columnar data structures for the execution engine.
|
Package batch provides the core columnar data structures for the execution engine. |
|
engine/diskio
Package diskio bounds the page-cache impact of the worker's large sequential file writes (operator spill files, local cache downloads, stage-output files).
|
Package diskio bounds the page-cache impact of the worker's large sequential file writes (operator spill files, local cache downloads, stage-output files). |
|
engine/exec
Package exec provides the push-based pipeline execution framework.
|
Package exec provides the push-based pipeline execution framework. |
|
engine/exec/kernel
Package kernel provides type-specialized vectorized operations for the query engine.
|
Package kernel provides type-specialized vectorized operations for the query engine. |
|
engine/expr
Package expr provides a typed expression engine for evaluating SQL expressions against record batches.
|
Package expr provides a typed expression engine for evaluating SQL expressions against record batches. |
|
engine/memory
Package memory provides memory tracking and budget enforcement for the query engine.
|
Package memory provides memory tracking and budget enforcement for the query engine. |
|
engine/scan
Package scan provides table scanning with 3-level predicate pushdown.
|
Package scan provides table scanning with 3-level predicate pushdown. |
|
format
Package format provides output formatting for query results.
|
Package format provides output formatting for query results. |
|
geoip
Package geoip provides MaxMind GeoIP2/GeoLite2 database lookups for IP geolocation and ASN enrichment.
|
Package geoip provides MaxMind GeoIP2/GeoLite2 database lookups for IP geolocation and ASN enrichment. |
|
harness
Package harness implements the distributed test harness used by cmd/tpch-harness.
|
Package harness implements the distributed test harness used by cmd/tpch-harness. |
|
iceberg
Package iceberg provides read-only support for Apache Iceberg table metadata.
|
Package iceberg provides read-only support for Apache Iceberg table metadata. |
|
logio
Package logio decouples log production from the log sink.
|
Package logio decouples log production from the log sink. |
|
metrics
Package metrics provides Prometheus instrumentation for Wadjet.
|
Package metrics provides Prometheus instrumentation for Wadjet. |
|
optswitch
Package optswitch is the registry of optimization kill switches (#287).
|
Package optswitch is the registry of optimization kill switches (#287). |
|
oracle
Package oracle is the optimization-invariance differential harness (#287): every corpus query runs with all registered optimizations enabled (baseline), then once per optswitch toggle with just that optimization disabled, then with all of them disabled — and every configuration must produce identical results.
|
Package oracle is the optimization-invariance differential harness (#287): every corpus query runs with all registered optimizations enabled (baseline), then once per optswitch toggle with just that optimization disabled, then with all of them disabled — and every configuration must produce identical results. |
|
oracle/collide
Package collide is the COLLIDING-BARE-NAME fixture: three relations whose columns are all called c0, c1, c2, the way SQLancer names every schema it generates.
|
Package collide is the COLLIDING-BARE-NAME fixture: three relations whose columns are all called c0, c1, c2, the way SQLancer names every schema it generates. |
|
oracle/dmlassign
Package dmlassign is the SET-value matrix for DML assignment casts, and the PostgreSQL answers it is checked against.
|
Package dmlassign is the SET-value matrix for DML assignment casts, and the PostgreSQL answers it is checked against. |
|
oracle/multikey
Package multikey is the fixture and query corpus for correlated subqueries that correlate on MORE THAN ONE column.
|
Package multikey is the fixture and query corpus for correlated subqueries that correlate on MORE THAN ONE column. |
|
oracle/shapegen
Package shapegen generates random-but-valid SQL over a described schema, aimed at the shapes a BI client emits and the fixed benchmark corpus does not contain.
|
Package shapegen generates random-but-valid SQL over a described schema, aimed at the shapes a BI client emits and the fixed benchmark corpus does not contain. |
|
oracle/sqlgen
Package sqlgen generates random-but-valid SQL queries over a described schema, for differential testing (#288).
|
Package sqlgen generates random-but-valid SQL queries over a described schema, for differential testing (#288). |
|
oracle/typematrix
Package typematrix is the fixture and query corpus for the type-coverage gates: one table carrying all 22 column types, and a generated corpus that pushes every type through every consumer that can retain, re-key, re-order or re-encode a value.
|
Package typematrix is the fixture and query corpus for the type-coverage gates: one table carrying all 22 column types, and a generated corpus that pushes every type through every consumer that can retain, re-key, re-order or re-encode a value. |
|
planner/logical
Package logical provides logical query plan representation and optimization.
|
Package logical provides logical query plan representation and optimization. |
|
planner/physical
Package physical defines stage-type string constants used by Stage.Type.
|
Package physical defines stage-type string constants used by Stage.Type. |
|
planner/sql
Package sql provides SQL parsing using a custom recursive descent parser.
|
Package sql provides SQL parsing using a custom recursive descent parser. |
|
server
Package server provides the HTTP API for Wadjet.
|
Package server provides the HTTP API for Wadjet. |
|
server/mcp
Package mcp implements a Model Context Protocol (MCP) server for Wadjet.
|
Package mcp implements a Model Context Protocol (MCP) server for Wadjet. |
|
server/pgwire
Package pgwire implements the PostgreSQL v3 wire protocol frontend.
|
Package pgwire implements the PostgreSQL v3 wire protocol frontend. |
|
sqlerr
Package sqlerr carries a PostgreSQL SQLSTATE alongside an error message.
|
Package sqlerr carries a PostgreSQL SQLSTATE alongside an error message. |
|
storage/catalog
Package catalog manages table schema and partition metadata.
|
Package catalog manages table schema and partition metadata. |
|
storage/compaction
Package compaction merges small Parquet files within a partition into larger files, reducing S3 list overhead and scan file-open costs.
|
Package compaction merges small Parquet files within a partition into larger files, reducing S3 list overhead and scan file-open costs. |
|
storage/dbscan
Package dbscan provides table-function sources for querying external SQL databases (PostgreSQL, MySQL) and producing columnar RecordBatches.
|
Package dbscan provides table-function sources for querying external SQL databases (PostgreSQL, MySQL) and producing columnar RecordBatches. |
|
storage/ingest
Package ingest provides micro-batch accumulation and flushing to object storage.
|
Package ingest provides micro-batch accumulation and flushing to object storage. |
|
storage/json
Package json reads JSON data (JSONL or JSON array format) and converts it to the columnar RecordBatch format used by Wadjet's execution engine.
|
Package json reads JSON data (JSONL or JSON array format) and converts it to the columnar RecordBatch format used by Wadjet's execution engine. |
|
storage/objstore
Package objstore provides an abstraction over S3-compatible object storage.
|
Package objstore provides an abstraction over S3-compatible object storage. |
|
storage/parquet
Package parquet provides Parquet file reading and writing on top of objstore.
|
Package parquet provides Parquet file reading and writing on top of objstore. |
|
storage/partition
Package partition implements Hive-style partitioning for table data.
|
Package partition implements Hive-style partitioning for table data. |
|
telemetry
Package telemetry provides OpenTelemetry tracing for Wadjet.
|
Package telemetry provides OpenTelemetry tracing for Wadjet. |
|
worker
Package worker implements the distributed task execution worker.
|
Package worker implements the distributed task execution worker. |
|
wshf
Package wshf owns the WSHF columnar shuffle wire format: the magics, the envelope codecs, and the one bounds-checked decoder every consumer uses.
|
Package wshf owns the WSHF columnar shuffle wire format: the magics, the envelope codecs, and the one bounds-checked decoder every consumer uses. |
|
tools
|
|
|
docscheck
command
Command docscheck resolves every relative link and #anchor markdown documentation makes against the tree, and checks that every top-level docs/*.md page is reachable by following links starting at docs/README.md.
|
Command docscheck resolves every relative link and #anchor markdown documentation makes against the tree, and checks that every top-level docs/*.md page is reachable by following links starting at docs/README.md. |
|
sqlancer/triage
Package triage classifies SQLancer soak-log output (and the wadjet server logs captured alongside it) the way wadjet#289's harness actually needs, which is not the way its README long documented.
|
Package triage classifies SQLancer soak-log output (and the wadjet server logs captured alongside it) the way wadjet#289's harness actually needs, which is not the way its README long documented. |
|
Package wadjet provides the public embeddable API for Wadjet.
|
Package wadjet provides the public embeddable API for Wadjet. |
Click to show internal directories.
Click to hide internal directories.