Documentation
¶
Overview ¶
tpcds-diff compares two TPC-DS query-result dumps produced by the workload's ANSWER_DUMP mode (lines "__TPCDS_DUMP__\t<name>\t<json-rows|ERR:msg>" in a run log). It is the cross-DB / pg-oracle check: run the same queries on two engines (or two scales), dump each, and diff. Rows compare as a sorted multiset (engines order ties / NULLs differently) with a numeric tolerance for decimal/float formatting; everything else compares exact.
Usage:
tpcds-diff -ref pg.log -test mysql.log [-v]
Exit code is non-zero if any query DIFFs, so it can gate CI.
Click to show internal directories.
Click to hide internal directories.