jiacai2050 opened a new issue, #1405:
URL: https://github.com/apache/incubator-horaedb/issues/1405

   ### Describe this problem
   
   Query contains APPROX_PERCENTILE_CONT function will throw errors.
   
   ### Server version
   
   main
   
   ### Steps to reproduce
   
   
   CREATE TABLE `demo` (
       `name` string TAG,
       `value` double NOT NULL,
       `t` timestamp NOT 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 >= 1651737067000 
   group by time_bucket(t, "PT1M")
   ;
   
   
   ### Expected behavior
   
   No error.
   
   ### Additional Information
   
   _No response_


-- 
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]

Reply via email to