fix test with wide parts

This commit is contained in:
Anton Popov 2022-01-12 23:51:40 +03:00
parent db63218577
commit 60bb0e43f4
2 changed files with 10 additions and 10 deletions

View File

@ -1,13 +1,13 @@
SELECT count()
FROM t_02156_merge1
PREWHERE k = 1
WHERE (k = 1) AND notEmpty(v)
PREWHERE k = 3
WHERE (k = 3) AND notEmpty(v)
2
SELECT count()
FROM t_02156_merge2
WHERE (k = 1) AND notEmpty(v)
WHERE (k = 3) AND notEmpty(v)
2
SELECT count()
FROM t_02156_merge3
WHERE (k = 1) AND notEmpty(v)
WHERE (k = 3) AND notEmpty(v)
2

View File

@ -20,14 +20,14 @@ INSERT INTO t_02156_mt1 SELECT number, toString(number) FROM numbers(10000);
INSERT INTO t_02156_mt2 SELECT number, toString(number) FROM numbers(10000);
INSERT INTO t_02156_log SELECT number, toString(number) FROM numbers(10000);
EXPLAIN SYNTAX SELECT count() FROM t_02156_merge1 WHERE k = 1 AND notEmpty(v);
SELECT count() FROM t_02156_merge1 WHERE k = 1 AND notEmpty(v);
EXPLAIN SYNTAX SELECT count() FROM t_02156_merge1 WHERE k = 3 AND notEmpty(v);
SELECT count() FROM t_02156_merge1 WHERE k = 3 AND notEmpty(v);
EXPLAIN SYNTAX SELECT count() FROM t_02156_merge2 WHERE k = 1 AND notEmpty(v);
SELECT count() FROM t_02156_merge2 WHERE k = 1 AND notEmpty(v);
EXPLAIN SYNTAX SELECT count() FROM t_02156_merge2 WHERE k = 3 AND notEmpty(v);
SELECT count() FROM t_02156_merge2 WHERE k = 3 AND notEmpty(v);
EXPLAIN SYNTAX SELECT count() FROM t_02156_merge3 WHERE k = 1 AND notEmpty(v);
SELECT count() FROM t_02156_merge3 WHERE k = 1 AND notEmpty(v);
EXPLAIN SYNTAX SELECT count() FROM t_02156_merge3 WHERE k = 3 AND notEmpty(v);
SELECT count() FROM t_02156_merge3 WHERE k = 3 AND notEmpty(v);
DROP TABLE IF EXISTS t_02156_mt1;
DROP TABLE IF EXISTS t_02156_mt2;