mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Merge pull request #58076 from CurtizJ/fix-test-02567
Fix flaky test `02567_and_consistency`
This commit is contained in:
commit
10a9ed0253
@ -5,6 +5,7 @@ FROM
|
||||
)
|
||||
GROUP BY number
|
||||
HAVING 1 AND sin(sum(number))
|
||||
ORDER BY ALL
|
||||
SETTINGS enable_optimize_predicate_expression = 0;
|
||||
|
||||
SELECT '=====';
|
||||
@ -16,6 +17,7 @@ FROM
|
||||
)
|
||||
GROUP BY number
|
||||
HAVING 1 AND sin(1)
|
||||
ORDER BY ALL
|
||||
SETTINGS enable_optimize_predicate_expression = 0;
|
||||
|
||||
SELECT '=====';
|
||||
@ -27,6 +29,7 @@ FROM
|
||||
)
|
||||
GROUP BY number
|
||||
HAVING x AND sin(sum(number))
|
||||
ORDER BY ALL
|
||||
SETTINGS enable_optimize_predicate_expression = 1;
|
||||
|
||||
SELECT '=====';
|
||||
@ -38,6 +41,7 @@ FROM
|
||||
)
|
||||
GROUP BY number
|
||||
HAVING 1 AND sin(sum(number))
|
||||
ORDER BY ALL
|
||||
SETTINGS enable_optimize_predicate_expression = 0;
|
||||
|
||||
SELECT '=====';
|
||||
@ -57,6 +61,7 @@ FROM
|
||||
)
|
||||
GROUP BY number
|
||||
HAVING 1 AND sin(sum(number))
|
||||
ORDER BY ALL
|
||||
SETTINGS enable_optimize_predicate_expression = 1;
|
||||
|
||||
select '#45440';
|
||||
@ -72,12 +77,16 @@ SELECT
|
||||
NOT h,
|
||||
h IS NULL
|
||||
FROM t2 AS left
|
||||
GROUP BY g;
|
||||
select '=';
|
||||
GROUP BY g
|
||||
ORDER BY g DESC;
|
||||
|
||||
SELECT '=';
|
||||
|
||||
SELECT MAX(left.c0), min2(left.c0, -(-left.c0) * (radians(left.c0) - radians(left.c0))) as g, (((-1925024212 IS NOT NULL) IS NOT NULL) != radians(tan(1216286224))) AND cos(lcm(MAX(left.c0), -1966575216) OR (MAX(left.c0) * 1180517420)) as h, not h, h is null
|
||||
FROM t2 AS left
|
||||
GROUP BY g HAVING h ORDER BY g DESC SETTINGS enable_optimize_predicate_expression = 0;
|
||||
select '=';
|
||||
SELECT '=';
|
||||
|
||||
SELECT MAX(left.c0), min2(left.c0, -(-left.c0) * (radians(left.c0) - radians(left.c0))) as g, (((-1925024212 IS NOT NULL) IS NOT NULL) != radians(tan(1216286224))) AND cos(lcm(MAX(left.c0), -1966575216) OR (MAX(left.c0) * 1180517420)) as h, not h, h is null
|
||||
FROM t2 AS left
|
||||
GROUP BY g HAVING h ORDER BY g DESC SETTINGS enable_optimize_predicate_expression = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user