Documentation
¶
Overview ¶
dstparse transforms TPC-DS dsdgen `.dst` distribution files into the uniform Dict-shaped JSON document consumed by the relations data generator. Given a directory the tool parses every `.dst` file in it (non-recursive) and merges the distributions into one document; given a single file it parses just that one.
Usage:
dstparse -in <dir-or-file> [-out <path>] [-pretty] [-version <tag>]
The `.dst` files are upstream TPC-DS artifacts; this tool is the one-way boundary that imports them at build time. The generated JSON is what stroppy ships under workloads/tpcds/.
Package main in cmd/dstparse parses TPC-DS dsdgen .dst distribution files into the uniform Dict-shaped JSON document consumed by the relations data generator. This file is the parser; main.go is the CLI front-end.