You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Query contains APPROX_PERCENTILE_CONT function will throw errors.
Server version
main
Steps to reproduce
CREATETABLE `demo` (
`name` string TAG,
`value` double NOT NULL,
`t`timestampNOT NULL,
timestamp KEY (t))
PARTITION BY RANDOM PARTITIONS 4
ENGINE=Analytic
with
(enable_ttl="false");
INSERT INTO demo (t, name, value)
VALUES (1651737067000, "ceresdb", 100)
,(1651737067000, "ceresdb1", 110)
,(1651737067000, "ceresdb2", 120);
;
analyze select time_bucket(t, "PT1M") as a, approx_percentile_cont(value, 0.9) as b from demo
where name ="ceresdb"and t >=1651737067000group by time_bucket(t, "PT1M")
;
Expected behavior
No error.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe this problem
Query contains APPROX_PERCENTILE_CONT function will throw errors.
Server version
main
Steps to reproduce
Expected behavior
No error.
Additional Information
No response
The text was updated successfully, but these errors were encountered: