ClickHouse/tests/queries/0_stateless/02842_largestTriangleThreeBuckets_aggregate_function.reference
FFish add243593d
fix: split lttb bucket strategy, first bucket and last bucket should only contain single point (#57003)
* fix: split lttb bucket policy, first bucket and last bucket should only
contain single point

* add comments and modify the corresponding query test

* style: update code format

* style: remove useless comments

* feat: add lttb bucket size test

* fix: typo, duplicate sql
2023-12-07 12:29:37 +01:00

18 lines
953 B
Plaintext

[]
[(1,10)]
[(1,10),(10,70)]
[(1,10),(3,15),(9,55),(10,70)]
[(0.02,0.16),(0.08,0.88),(0.09,0),(0.15,0.09),(0.21,0.46),(0.23,0.23),(0.29,0.16),(0.37,0.86),(0.39,0.86),(0.47,0.06),(0.48,0.57),(0.52,0.11),(0.6,0.64),(0.63,0.25),(0.7,0.25),(0.73,0.95),(0.83,0.67),(0.87,0.15),(0.91,0.62),(0.98,0.09)]
[('2023-01-14 00:00:00.000',35.96528042030847),('2023-03-15 00:00:00.000',98.77709508458238),('2023-06-05 00:00:00.000',8.107958052612418),('2023-12-18 00:00:00.000',12.832032764204616),('2023-12-31 00:00:00.000',98.52375935588333)]
[('2023-01-14 00:00:00.000',35.96528042030847),('2023-03-15 00:00:00.000',98.77709508458238),('2023-06-05 00:00:00.000',8.107958052612418),('2023-12-18 00:00:00.000',12.832032764204616),('2023-12-31 00:00:00.000',98.52375935588333)]
(9908,908) 9908 10
(9918,918) 9918 10
(9928,928) 9928 10
(9938,938) 9938 10
(9948,948) 9948 10
(9958,958) 9958 10
(9968,968) 9968 10
(9978,978) 9978 10
(9988,988) 9988 10
(9999,999) 9999 11