minor test fix

This commit is contained in:
Artem Zuikov 2020-06-22 19:54:12 +03:00
parent 1c9ff5bd58
commit 171753e7eb
2 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
-150000044999994
6931471.112452272
24580677
-150000044999994
6931471.112452272
24580677
-15444
68.62157087543459
243
-15444
68.62157087543459
243

View File

@ -1,11 +1,11 @@
set optimize_arithmetic_operations_in_aggregate_functions = 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);
SELECT sum(number * -3) + min(2 * number * -3) - max(-1 * -2 * number * -3) FROM numbers(100);
SELECT max(log(2) * number) FROM numbers(100);
SELECT round(max(log(2) * 3 * sin(0.3) * number * 4)) FROM numbers(100);
set optimize_arithmetic_operations_in_aggregate_functions = 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);
SELECT sum(number * -3) + min(2 * number * -3) - max(-1 * -2 * number * -3) FROM numbers(100);
SELECT max(log(2) * number) FROM numbers(100);
SELECT round(max(log(2) * 3 * sin(0.3) * number * 4)) FROM numbers(100);