Crate llkv_tpch

Crate llkv_tpch 

Source
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§

LoadSummary
LoadTableSummary
SchemaPaths
File system locations for the bundled TPC-H metadata and templates.
TpchSchema
Summary of the installed TPC-H schema.
TpchTableInfo
Table-level metadata derived from dss.h.
TpchToolkit

Enums§

TableLoadEvent
Status updates emitted during table population.
TpchError
Errors that can occur while installing the TPC-H schema.

Constants§

DEFAULT_SCHEMA_NAME

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.