This repository provides a containerized build of the
official TPC-DS toolkit (dsdgen, dsqgen).
The tpcd-ds-tools directory contains the TPC-DS tools source code version 4.0.0 downloaded from the TPC website. Some minor modifications have been made outlined in the git history as separate commits.
To build the Docker image, run the following command in the root directory of this repository:
docker build -t tpc-ds-tools .Generate the TPC-DS data at scale factor 1 and store it in a Docker volume named tpcds-data:
docker run --rm -v tpcds-data:/tmp tpc-ds-tools dsdgen -SCALE 1 -DIR /tmpGenerate the TPC-DS query 44 at scale factor 1 and store it in a Docker volume named tpcds-queries:
docker run --rm -v tpcds-queries:/tmp tpc-ds-tools dsqgen -template query44.tpl -directory ../query_templates -scale 1 -output_dir /tmpThe TPC-DS tools are provided under the License Agreement that can be found in the EULA.txt file.
NOTICE
THE TPC SOFTWARE IS AVAILABLE WITHOUT CHARGE FROM TPC.