Expand description
Helpers for installing the canonical TPC-H schema inside an LLKV database.
The toolkit bundles the upstream dbgen sources. This module reads the
dss.h metadata and dss.ri constraint file from that distribution, then
installs the schema into a SqlEngine. The goal is to let the TPC-H DDL run
unmodified while still producing a structured manifest the caller can inspect.
Modules§
- qualification
- Query qualification helpers derived from the official TPC-H tooling.
- queries
- Utilities for reading and rendering canonical TPC-H query templates.
Structs§
- Load
Summary - Load
Table Summary - Schema
Paths - File system locations for the bundled TPC-H metadata and templates.
- Tpch
Schema - Summary of the installed TPC-H schema.
- Tpch
Table Info - Table-level metadata derived from
dss.h. - Tpch
Toolkit
Enums§
- Table
Load Event - Status updates emitted during table population.
- Tpch
Error - Errors that can occur while installing the TPC-H schema.
Constants§
Functions§
- install_
default_ schema - Install the bundled TPC-H schema into the provided SQL engine.
- install_
schema - Install the TPC-H schema using explicit metadata locations.
- load_
tpch_ data - Load the TPC-H data set using the default toolkit metadata paths.
- load_
tpch_ data_ with_ toolkit - Load the TPC-H data set using a pre-initialized toolkit.
- resolve_
loader_ batch_ size - Resolve the loader batch size using column-store write hints.
Type Aliases§
- Result
- Convenient alias for results returned by schema helpers.