ClickHouse TPC-DS (Decision Support Benchmark).
Data scale = 100 (100GB of data)
Node size 16 CPU, 64GB RAM
ClickHouse server version 24.1
74 queries passing (74.75%)
2. Fixable failed queries
Fixes described below will require modification of related template-files or generated queries.
2.1.1 'There is no supertype for types Float32, Decimal(7, 2) because some of them have no lossless conversion to Decimal., not supported'
github issue 9881
To fix: need to explicitly cast Float64 to Decimal(7, 2) .
2.4 Intervals like this '+ 30 days' not supported
github issue 9887
To fix: need to use INTERVAL data type.
# fail
SELECT (now() + 30 days);
# success
SELECT (now() + INTERVAL 30 day);
3.1 Memory limit exceeded (Could be a part of Performance optimization)
Code: 241. DB::Exception: Received from localhost:9000. DB::Exception: Memory limit (for query) exceeded: would use 32.34 GiB (attempt to allocate chunk of 67108864 bytes), maximum: 32 GiB.
Remark: when run test under Docker, make sure that the memory limit much more max_memory_usage (see Docker -> Settings -> Advance).
3.7.3 'Correlated subqueries (missing columns: "x" while processing query)'
github issue 6697
# success
SELECT dummy, name
FROM system .one , system .columns
WHERE (SELECT count () FROM system .columns WHERE name != ' ' ) > 0 AND dummy = 0
LIMIT 1 ;
# fail
SELECT dummy, name
FROM system .one , system .columns
WHERE (SELECT count () FROM system .columns WHERE name != ' ' AND dummy = 0 ) > 0
LIMIT 1 ;
# fail
SELECT o .dummy , name
FROM system .one o, system .columns
WHERE (SELECT count () FROM system .columns WHERE name != ' ' AND o .dummy = 0 ) > 0
LIMIT 1 ;
3.7.8 'CROSS JOIN to INNER JOIN rewrite depends on tables order in query.'
github issue 9194
3.7.9 'There is no supertype when CROSS to INNER JOIN rewrite WHERE a.key=b.key-1'
github issue 21794
3.7.10 'Resolve identifier supported for constants and CTE. Actual node type COLUMN'
github issue 58994
3.7.11 'If(Int64 IS NULL, ...) wrong data type assumed'
github issue 58997
3.7.12 'wrong pushdown of id.null to table engine non nullable column (null type is generated in JOIN),'
github issue 58998
TPC-DS Tools or take already downloaded
Vertica White paper - Benchmarks Prove the Value of an Analytical Database for Big Data
Vertica TPC-DS benchmark performance analysis
tidb-bench