mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
fix test
This commit is contained in:
parent
de9416c7df
commit
1ecbad4151
@ -1,3 +1,18 @@
|
|||||||
|
Filter column: and(equals(a, 0), indexHint(greater(plus(i, 40), 0))) (removed)
|
||||||
|
Prewhere info
|
||||||
|
Prewhere filter
|
||||||
|
Prewhere filter column: equals(a, 0)
|
||||||
|
Prewhere info
|
||||||
|
Prewhere filter
|
||||||
|
Prewhere filter column: less(a, 0) (removed)
|
||||||
|
Filter column: and(greaterOrEquals(a, 0), indexHint(greater(plus(i, 40), 0))) (removed)
|
||||||
|
Prewhere info
|
||||||
|
Prewhere filter
|
||||||
|
Prewhere filter column: greaterOrEquals(a, 0)
|
||||||
|
Filter column: and(less(multiply(2, b), 100), indexHint(less(i, 100))) (removed)
|
||||||
|
Prewhere info
|
||||||
|
Prewhere filter
|
||||||
|
Prewhere filter column: less(multiply(2, b), 100)
|
||||||
Filter column: and(indexHint(greater(plus(i, 40), 0)), equals(a, 0)) (removed)
|
Filter column: and(indexHint(greater(plus(i, 40), 0)), equals(a, 0)) (removed)
|
||||||
Prewhere info
|
Prewhere info
|
||||||
Prewhere filter
|
Prewhere filter
|
||||||
|
@ -17,10 +17,15 @@ SET optimize_move_to_prewhere = 1;
|
|||||||
SET optimize_substitute_columns = 1;
|
SET optimize_substitute_columns = 1;
|
||||||
SET optimize_append_index = 1;
|
SET optimize_append_index = 1;
|
||||||
|
|
||||||
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a = 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%';
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a = 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=0;
|
||||||
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a < 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%';
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a < 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=0;
|
||||||
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a >= 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%';
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a >= 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=0;
|
||||||
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE 2 * b < 100) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%';
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE 2 * b < 100) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=0;
|
||||||
|
|
||||||
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a = 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=1;
|
||||||
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a < 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=1;
|
||||||
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE a >= 0) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=1;
|
||||||
|
SELECT replaceRegexpAll(explain, '__table1\.|_UInt8', '') FROM (EXPLAIN actions=1 SELECT i FROM index_append_test_test WHERE 2 * b < 100) WHERE explain LIKE '%Prewhere%' OR explain LIKE '%Filter column%' SETTINGS allow_experimental_analyzer=1;
|
||||||
|
|
||||||
DROP TABLE index_append_test_test;
|
DROP TABLE index_append_test_test;
|
||||||
DROP DATABASE db_memory_01625;
|
DROP DATABASE db_memory_01625;
|
||||||
|
Loading…
Reference in New Issue
Block a user