tongwoojun opened a new issue #11854:
URL: https://github.com/apache/druid/issues/11854
### Affected Version
0.14.2
### Description
When I query for quantiles, I find that the query results keep changing. I
would like to know why such a problem occurs, and what is the solution
config:
"metricsSpec": [{
"type": "quantilesDoublesSketch",
"name": "timeCost",
"fieldName": "timeCost"
},
.......
]
sql:
select APPROX_QUANTILE_DS(timeCost, 0.999) as p999 from table where __time
>= '2021-10-27' and __time < '2021-10-28'
result:
1.
[
{
"p999": 722.0
}
]
2.
[
{
"p999": 308.0
}
]
3.
[
{
"p999": 317.0
}
]
4.
[
{
"p999": 240.0
}
]
5.
[
{
"p999": 325.0
}
]
6.
[
{
"p999": 292.0
}
]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]