mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Add test from #10613 for enable_optimize_predicate_expression
This commit is contained in:
parent
6d40c1ea2c
commit
f19c619dfe
@ -36,4 +36,11 @@ FROM (
|
||||
SET enable_debug_queries = 1;
|
||||
ANALYZE SELECT * FROM system.one HAVING dummy > 0 AND dummy < 0;
|
||||
|
||||
-- from #10613
|
||||
SELECT name, count() AS cnt
|
||||
FROM remote('127.{1,2}', system.settings)
|
||||
GROUP BY name
|
||||
HAVING (max(value) > '9') AND (min(changed) = 0)
|
||||
FORMAT Null;
|
||||
|
||||
DROP TABLE perf;
|
||||
|
Loading…
Reference in New Issue
Block a user