mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
231 lines
3.9 KiB
Plaintext
231 lines
3.9 KiB
Plaintext
|
uniqThetaSketch many agrs
|
||
|
10 10 100 100 1000 1000
|
||
|
17 10 10 100 100 610 610 766
|
||
|
52 10 10 100 100 608 608 766
|
||
|
5 10 10 100 100 608 608 765
|
||
|
9 10 10 100 100 608 608 765
|
||
|
13 10 10 100 100 607 607 765
|
||
|
46 10 10 100 100 607 607 765
|
||
|
48 10 10 100 100 609 609 765
|
||
|
50 10 10 100 100 608 608 765
|
||
|
54 10 10 100 100 609 609 765
|
||
|
56 10 10 100 100 608 608 765
|
||
|
uniqThetaSketch distinct
|
||
|
123
|
||
|
143
|
||
|
uniqThetaSketch arrays
|
||
|
2
|
||
|
3
|
||
|
3
|
||
|
uniqThetaSketch complex types
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
3
|
||
|
uniqThetaSketch decimals
|
||
|
(0,0,0)
|
||
|
(101,101,101)
|
||
|
uniqThetaSketch remove injective
|
||
|
SELECT uniqThetaSketch(x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x + y)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT
|
||
|
number % 2 AS x,
|
||
|
number % 3 AS y
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(x + y)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT
|
||
|
number % 2 AS x,
|
||
|
number % 3 AS y
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(-x)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(bitNot(x))
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(bitNot(-x))
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
SELECT uniqThetaSketch(-bitNot(-x))
|
||
|
FROM
|
||
|
(
|
||
|
SELECT number % 2 AS x
|
||
|
FROM numbers(10)
|
||
|
)
|
||
|
1000 1000
|
||
|
2014-06-01 1000 1000
|
||
|
1000 1000
|
||
|
2014-06-01 1000 1000
|
||
|
2014-06-01 0 0 7 7
|
||
|
2014-06-01 0 1 7 7
|
||
|
2014-06-01 0 2 7 7
|
||
|
2014-06-01 0 3 7 7
|
||
|
2014-06-01 0 4 7 7
|
||
|
2014-06-01 0 5 7 7
|
||
|
2014-06-01 0 6 7 7
|
||
|
2014-06-01 0 7 7 7
|
||
|
2014-06-01 0 8 7 7
|
||
|
2014-06-01 0 9 7 7
|
||
|
2014-06-01 1 10 7 7
|
||
|
2014-06-01 1 11 7 7
|
||
|
2014-06-01 1 12 7 7
|
||
|
2014-06-01 1 13 7 7
|
||
|
2014-06-01 1 14 7 7
|
||
|
2014-06-01 1 15 7 7
|
||
|
2014-06-01 1 16 7 7
|
||
|
2014-06-01 1 17 7 7
|
||
|
2014-06-01 1 18 7 7
|
||
|
2014-06-01 1 19 7 7
|
||
|
2014-06-01 2 20 7 7
|
||
|
2014-06-01 2 21 7 7
|
||
|
2014-06-01 2 22 7 7
|
||
|
2014-06-01 2 23 7 7
|
||
|
2014-06-01 2 24 7 7
|
||
|
2014-06-01 2 25 7 7
|
||
|
2014-06-01 2 26 7 7
|
||
|
2014-06-01 2 27 7 7
|
||
|
2014-06-01 2 28 7 7
|
||
|
2014-06-01 2 29 7 7
|
||
|
2014-06-01 3 30 7 7
|
||
|
2014-06-01 3 31 7 7
|
||
|
2014-06-01 3 32 7 7
|
||
|
2014-06-01 3 33 7 7
|
||
|
2014-06-01 3 34 7 7
|
||
|
2014-06-01 3 35 7 7
|
||
|
2014-06-01 3 36 7 7
|
||
|
2014-06-01 3 37 7 7
|
||
|
2014-06-01 3 38 7 7
|
||
|
2014-06-01 3 39 7 7
|
||
|
2014-06-01 4 40 7 7
|
||
|
2014-06-01 4 41 7 7
|
||
|
2014-06-01 4 42 7 7
|
||
|
2014-06-01 4 43 7 7
|
||
|
2014-06-01 4 44 7 7
|
||
|
2014-06-01 4 45 7 7
|
||
|
2014-06-01 4 46 7 7
|
||
|
2014-06-01 4 47 7 7
|
||
|
2014-06-01 4 48 7 7
|
||
|
2014-06-01 4 49 7 7
|
||
|
2014-06-01 5 50 7 7
|
||
|
2014-06-01 5 51 7 7
|
||
|
2014-06-01 5 52 7 7
|
||
|
2014-06-01 5 53 7 7
|
||
|
2014-06-01 5 54 7 7
|
||
|
2014-06-01 5 55 7 7
|
||
|
2014-06-01 5 56 7 7
|
||
|
2014-06-01 5 57 7 7
|
||
|
2014-06-01 5 58 7 7
|
||
|
2014-06-01 5 59 7 7
|
||
|
2014-06-01 6 60 7 7
|
||
|
2014-06-01 6 61 7 7
|
||
|
2014-06-01 6 62 7 7
|
||
|
2014-06-01 6 63 7 7
|
||
|
2014-06-01 6 64 7 7
|
||
|
2014-06-01 6 65 7 7
|
||
|
2014-06-01 6 66 7 7
|
||
|
2014-06-01 6 67 7 7
|
||
|
2014-06-01 6 68 7 7
|
||
|
2014-06-01 6 69 7 7
|
||
|
2014-06-01 7 70 7 7
|
||
|
2014-06-01 7 71 7 7
|
||
|
2014-06-01 7 72 7 7
|
||
|
2014-06-01 7 73 7 7
|
||
|
2014-06-01 7 74 7 7
|
||
|
2014-06-01 7 75 7 7
|
||
|
2014-06-01 7 76 7 7
|
||
|
2014-06-01 7 77 7 7
|
||
|
2014-06-01 7 78 7 7
|
||
|
2014-06-01 7 79 7 7
|
||
|
2014-06-01 8 80 7 7
|
||
|
2014-06-01 8 81 7 7
|
||
|
2014-06-01 8 82 7 7
|
||
|
2014-06-01 8 83 7 7
|
||
|
2014-06-01 8 84 7 7
|
||
|
2014-06-01 8 85 7 7
|
||
|
2014-06-01 8 86 7 7
|
||
|
2014-06-01 8 87 7 7
|
||
|
2014-06-01 8 88 7 7
|
||
|
2014-06-01 8 89 7 7
|
||
|
2014-06-01 9 90 7 7
|
||
|
2014-06-01 9 91 7 7
|
||
|
2014-06-01 9 92 7 7
|
||
|
2014-06-01 9 93 7 7
|
||
|
2014-06-01 9 94 7 7
|
||
|
2014-06-01 9 95 7 7
|
||
|
2014-06-01 9 96 7 7
|
||
|
2014-06-01 9 97 7 7
|
||
|
2014-06-01 9 98 7 7
|
||
|
2014-06-01 9 99 7 7
|
||
|
2014-06-01 0 7 7
|
||
|
2014-06-01 1 7 7
|
||
|
2014-06-01 2 7 7
|
||
|
2014-06-01 3 7 7
|
||
|
2014-06-01 4 7 7
|
||
|
2014-06-01 5 7 7
|
||
|
2014-06-01 6 7 7
|
||
|
2014-06-01 7 7 7
|
||
|
2014-06-01 8 7 7
|
||
|
2014-06-01 9 7 7
|
||
|
2014-06-01 7 7
|
||
|
0 333333 53 53
|
||
|
1 333333 53 53
|
||
|
2 333333 53 53
|
||
|
0 333333 53 53
|
||
|
1 333333 53 53
|
||
|
2 333333 53 53
|