- 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 result of the queries agrees with the official results unless mentioned otherwise. There may be minor precision differences, which are permitted by the TPC-DS specification.