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.
Click to show internal directories.
Click to hide internal directories.