mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
30000 30000 30000
|
|
30000 30000 30000
|
|
2016-06-15 23:00:16 2016-06-15 23:00:16 2016-06-15 23:00:16
|
|
2016-06-15 23:00:16 2016-06-15 23:00:16 2016-06-15 23:00:16
|
|
2016-04-02 17:23:12 2016-04-02 17:23:12 2016-04-02 17:23:12
|
|
---------After fuse result-----------
|
|
quantile:
|
|
SELECT
|
|
quantiles(0.2, 0.3)(d)[1],
|
|
quantiles(0.2, 0.3)(d)[2]
|
|
FROM datetime
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
quantileDeterministic:
|
|
SELECT
|
|
quantilesDeterministic(0.2, 0.5)(d, 1)[1],
|
|
quantilesDeterministic(0.2, 0.5)(d, 1)[2]
|
|
FROM datetime
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
quantileExact:
|
|
SELECT
|
|
quantilesExact(0.2, 0.5)(d)[1],
|
|
quantilesExact(0.2, 0.5)(d)[2]
|
|
FROM datetime
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
quantileExactWeighted:
|
|
SELECT
|
|
quantilesExactWeighted(0.2, 0.4)(d, 1)[1],
|
|
quantilesExactWeighted(0.2, 0.4)(d, 1)[2],
|
|
quantileExactWeighted(0.3)(d, 2)
|
|
FROM datetime
|
|
2016-06-15 23:00:00 2016-06-15 23:00:00 2016-06-15 23:00:00
|
|
quantileTiming:
|
|
SELECT
|
|
quantilesTiming(0.2, 0.3)(d)[1],
|
|
quantilesTiming(0.2, 0.3)(d)[2],
|
|
quantileTiming(0.2)(d + 1)
|
|
FROM datetime
|
|
30000 30000 30000
|
|
quantileTimingWeighted:
|
|
SELECT
|
|
quantilesTimingWeighted(0.2, 0.3)(d, 1)[1],
|
|
quantilesTimingWeighted(0.2, 0.3)(d, 1)[2],
|
|
quantileTimingWeighted(0.2)(d, 2)
|
|
FROM datetime
|
|
30000 30000 30000
|
|
quantileTDigest:
|
|
SELECT
|
|
quantilesTDigest(0.2, 0.3)(d)[1],
|
|
quantilesTDigest(0.2, 0.3)(d)[2],
|
|
quantileTDigest(0.2)(d + 1)
|
|
FROM datetime
|
|
2016-06-15 23:00:16 2016-06-15 23:00:16 2016-06-15 23:00:16
|
|
quantileTDigestWeighted:
|
|
SELECT
|
|
quantilesTDigestWeighted(0.2, 0.3)(d, 1)[1],
|
|
quantilesTDigestWeighted(0.2, 0.3)(d, 1)[2],
|
|
quantileTDigestWeighted(0.4)(d, 2)
|
|
FROM datetime
|
|
2016-06-15 23:00:16 2016-06-15 23:00:16 2016-06-15 23:00:16
|
|
quantileBFloat16:
|
|
SELECT
|
|
quantilesBFloat16(0.2, 0.3)(d)[1],
|
|
quantilesBFloat16(0.2, 0.3)(d)[2],
|
|
quantileBFloat16(0.4)(d + 1)
|
|
FROM datetime
|
|
2016-04-02 17:23:12 2016-04-02 17:23:12 2016-04-02 17:23:12
|