Files
Andriy YakovlevandCursor 197669d2be Improve JOB README and make convert_csv.py fail-closed
Restructure the README loading and known-problems sections, and make convert_csv.py
return a non-zero exit code (with an error on stderr) when the final record is
incomplete at EOF instead of silently dropping it, so a truncated or corrupted download
cannot quietly produce a partial JOB dataset.

Co-authored-by: Cursor <[email protected]>
2026-06-24 13:40:11 +02:00
..
2026-06-19 18:24:22 +02:00

Join Order Benchmark (JOB)

The Join Order Benchmark (JOB) stresses the query optimizer with 113 analytical queries over a real-world, highly-correlated dataset (a snapshot of IMDB).

Source of the queries: Join Order Benchmark repository.

Loading the data

init.sql is the original, unmodified JOB schema, where columns are nullable unless declared NOT NULL. The tables must therefore be created with data_type_default_nullable=1 (passed as --data_type_default_nullable=1 below), otherwise the nullable columns are created as non-nullable and loading rows with NULLs fails.

Create the schema, for example:

clickhouse client --data_type_default_nullable=1 --queries-file init.sql

For IMDB Data Set check Join Order Benchmark repository.

List of known problems