From 4af339555d2d0ac02f275fc886a8c0ad85d9c753 Mon Sep 17 00:00:00 2001
From: liuneng <1398775315@qq.com>
Date: Tue, 27 Feb 2024 16:19:34 +0800
Subject: [PATCH] revert test case changes
---
tests/performance/any_join.xml | 23 -------------------
.../performance/storage_join_direct_join.xml | 14 -----------
2 files changed, 37 deletions(-)
delete mode 100644 tests/performance/any_join.xml
diff --git a/tests/performance/any_join.xml b/tests/performance/any_join.xml
deleted file mode 100644
index ed473c36d557..000000000000
--- a/tests/performance/any_join.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- 1
-
-
- CREATE TABLE keys (key UInt64) ENGINE = MergeTree ORDER BY key;
- CREATE TABLE dict (key UInt64, value1 UInt64, value2 Float64, value3 String,
- value4 String, value5 String, value6 String, value7 String, value8 String, value9 String,
- value10 String) ENGINE = MergeTree ORDER BY key;
-
- INSERT INTO keys SELECT rand() %500000 FROM numbers(10000000);
- INSERT INTO dict SELECT rand() %300000, rand()%1000, rand()*0.0001, toString(number),
- toString(number), toString(number), toString(number), toString(number), toString(number),
- toString(number), toString(number) FROM numbers(1000000);
-
-
-
- SELECT keys.key, value1 FROM keys ANY LEFT JOIN dict AS d ON (keys.key = d.key) FORMAT Null;
- SELECT keys.key, value1 FROM keys ALL INNER JOIN dict AS d ON (keys.key = d.key) FORMAT Null;
-
- DROP TABLE IF EXISTS keys
- DROP TABLE IF EXISTS dict
-
\ No newline at end of file
diff --git a/tests/performance/storage_join_direct_join.xml b/tests/performance/storage_join_direct_join.xml
index d3bc25cd96bc..2fc63c2c9265 100644
--- a/tests/performance/storage_join_direct_join.xml
+++ b/tests/performance/storage_join_direct_join.xml
@@ -8,26 +8,12 @@
value4 String, value5 String, value6 String, value7 String, value8 String, value9 String,
value10 String) ENGINE = Join(ANY, LEFT, key);
- CREATE TABLE dict2 (key UInt64, value1 UInt64, value2 Float64, value3 String,
- value4 String, value5 String, value6 String, value7 String, value8 String, value9 String,
- value10 String) ENGINE = MergeTree ORDER BY key;
-
INSERT INTO keys SELECT rand() FROM numbers(10000000);
INSERT INTO dict SELECT rand(), rand()%1000, rand()*0.0001, toString(number),
toString(number), toString(number), toString(number), toString(number), toString(number),
toString(number), toString(number) FROM numbers(1000000);
- INSERT INTO dict2 SELECT rand(), rand()%1000, rand()*0.0001, toString(number),
- toString(number), toString(number), toString(number), toString(number), toString(number),
- toString(number), toString(number) FROM numbers(1000000);
-
SELECT keys.key, value1 FROM keys ANY LEFT JOIN dict AS d ON (keys.key = d.key) FORMAT Null;
- SELECT keys.key, value1 FROM keys ANY LEFT JOIN dict2 AS d ON (keys.key = d.key) FORMAT Null;
-
SELECT keys.key, value1 FROM keys ANY LEFT JOIN dict AS d ON (keys.key = d.key) FORMAT Null SETTINGS
allow_experimental_analyzer=1
-
- DROP TABLE IF EXISTS keys
- DROP TABLE IF EXISTS dict
- DROP TABLE IF EXISTS dict2
\ No newline at end of file