mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
fix test
This commit is contained in:
parent
24ee7346a9
commit
f18debb108
@ -1,9 +1,11 @@
|
||||
set optimize_arithmetic_operations_in_agr_func = 1;
|
||||
set optimize_ast_arithmetic = 1;
|
||||
|
||||
SELECT sum(number * -3) + min(2 * number * -3) - max(-1 * -2 * number * -3) FROM numbers(10000000);
|
||||
SELECT max(log(2) * number) FROM numbers(10000000);
|
||||
SELECT round(max(log(2) * 3 * sin(0.3) * number * 4)) FROM numbers(10000000);
|
||||
|
||||
set optimize_arithmetic_operations_in_agr_func = 0;
|
||||
set optimize_ast_arithmetic = 0;
|
||||
|
||||
SELECT sum(number * -3) + min(2 * number * -3) - max(-1 * -2 * number * -3) FROM numbers(10000000);
|
||||
SELECT max(log(2) * number) FROM numbers(10000000);
|
||||
SELECT round(max(log(2) * 3 * sin(0.3) * number * 4)) FROM numbers(10000000);
|
||||
|
Loading…
Reference in New Issue
Block a user