tpch-dists

command
v6.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

tpch-dists transforms upstream TPC-H `dists.dss` into the uniform Dict-shaped JSON document consumed by the relations data generator.

Usage:

tpch-dists -in <dists.dss> -out <json-path> [-pretty] [-version <tag>]

The generated JSON is what stroppy ships under workloads/tpch/.

Package main in cmd/tpch-dists parses upstream TPC-H `dists.dss` into the uniform Dict-shaped JSON document.

Grammar (case-insensitive keywords, `#` line comments, `|`-separated payload):

BEGIN <name>                   -- start of block
COUNT|<n>                      -- declared row count (informational)
<value>|<weight>               -- data row
... more value/weight pairs ...
END <name>                     -- end of block

Values are bare strings (no quoting rule). Weights are non-negative integers with one exception: the `nations` dist contains negative offsets used by qgen, which we accept as int64. Multiple blocks per file; blocks may be separated by `###` banner comments.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL