From af7e912426a8bfd20630763d67e1560459ee3e38 Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Wed, 11 Dec 2024 17:46:35 +0000 Subject: [PATCH] Docs: Remove obsolete comment about TPC-H Q19 --- .../getting-started/example-datasets/tpch.md | 40 ------------------- 1 file changed, 40 deletions(-) diff --git a/docs/en/getting-started/example-datasets/tpch.md b/docs/en/getting-started/example-datasets/tpch.md index 3ea4bffec38..1ec6c950372 100644 --- a/docs/en/getting-started/example-datasets/tpch.md +++ b/docs/en/getting-started/example-datasets/tpch.md @@ -998,46 +998,6 @@ WHERE ); ``` -::::note -As of October 2024, the query is extremely slow due to missing join predicate pushdown. Corresponding issue: https://github.com/ClickHouse/ClickHouse/issues/70802 - -This alternative formulation works and was verified to return the reference results. - -```sql -SELECT - sum(l_extendedprice * (1 - l_discount)) AS revenue -FROM - lineitem, - part -WHERE - p_partkey = l_partkey - AND l_shipinstruct = 'DELIVER IN PERSON' - AND l_shipmode IN ('AIR', 'AIR REG') - AND ( - ( - p_brand = 'Brand#12' - AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') - AND l_quantity >= 1 AND l_quantity <= 1 + 10 - AND p_size BETWEEN 1 AND 5 - ) - OR - ( - p_brand = 'Brand#23' - AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') - AND l_quantity >= 10 AND l_quantity <= 10 + 10 - AND p_size BETWEEN 1 AND 10 - ) - OR - ( - p_brand = 'Brand#34' - AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') - AND l_quantity >= 20 AND l_quantity <= 20 + 10 - AND p_size BETWEEN 1 AND 15 - ) - ) -``` -:::: - **Q20** ```sql