- The Making of TPC-DS (Nambiar), 2006
Data Generation and Import
First, checkout the TPC-DS repository and compile the data generator:-scale specifies the scale factor.
init.sql in the ClickHouse repository.
The data can be imported as follows:
Queries
The 99 TPC-DS queries can be found here in the ClickHouse repository. To get SQL standard compatible behavior and expected results, apply the settings fromsettings.json. See the README for known issues and notes on specific queries.
Correctness
The results of the queries agree with the official results unless otherwise noted. There may be minor precision differences, which are permitted by the TPC-DS specification.