mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
0324770773
sed -r -i \ -e 's/SELECT $/SELECT/' \ -e 's/SELECT DISTINCT $/SELECT DISTINCT/' \ -e 's/WITH $/WITH/' \ # zero matches, new test will be added -e 's/ARRAY JOIN $/ARRAY JOIN/' \ -e 's/GROUP BY $/GROUP BY/' \ -e 's/ORDER BY $/ORDER BY/' \ -e 's/LIMIT ([0-9]+) BY $/LIMIT \1 BY/' \ # zero matches, new test will be added tests/queries/*/*.sql \ tests/queries/*/*.reference (With except for tests/queries/0_stateless/00751_default_databasename_for_view.reference)
110 lines
1.9 KiB
Plaintext
110 lines
1.9 KiB
Plaintext
6931467.646716
|
|
6931468.339864
|
|
6931469.033011
|
|
6931469.726158
|
|
6931470.419305
|
|
6931471.112452
|
|
3465734.169932
|
|
3465734.863079
|
|
3465735.556226
|
|
3465736.249373
|
|
3465736.94252
|
|
3465735.209653
|
|
3465735.209653
|
|
3465735.556226
|
|
3465735.9028
|
|
3465735.9028
|
|
3465734.516505
|
|
3465735.209653
|
|
3465735.209653
|
|
3465735.9028
|
|
3465735.9028
|
|
3465736.595947
|
|
3465735.209653
|
|
3465735.9028
|
|
SELECT max(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
number % 2,
|
|
number % 3,
|
|
((number % 2) + (number % 3)) % 2
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY number % 5
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
(number % 2) * (number % 3),
|
|
number % 3
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
number % 3,
|
|
number % 2
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
(number % 2) % 3,
|
|
number % 2
|
|
ORDER BY k ASC
|
|
6931467.646716
|
|
6931468.339864
|
|
6931469.033011
|
|
6931469.726158
|
|
6931470.419305
|
|
6931471.112452
|
|
3465734.169932
|
|
3465734.863079
|
|
3465735.556226
|
|
3465736.249373
|
|
3465736.94252
|
|
3465735.209653
|
|
3465735.209653
|
|
3465735.556226
|
|
3465735.9028
|
|
3465735.9028
|
|
3465734.516505
|
|
3465735.209653
|
|
3465735.209653
|
|
3465735.9028
|
|
3465735.9028
|
|
3465736.595947
|
|
3465735.209653
|
|
3465735.9028
|
|
SELECT max(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
number % 2,
|
|
number % 3,
|
|
((number % 2) + (number % 3)) % 2
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
number % 5,
|
|
(number % 5) * (number % 5)
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
(number % 2) * (number % 3),
|
|
number % 3
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
(number % 2) * (number % 3),
|
|
number % 3,
|
|
number % 2
|
|
ORDER BY k ASC
|
|
SELECT avg(log(2) * number) AS k
|
|
FROM numbers(10000000)
|
|
GROUP BY
|
|
(number % 2) % 3,
|
|
number % 2
|
|
ORDER BY k ASC
|