jon-wei commented on issue #8276: KIS tasks in 0.15.1 RC2 sometimes duplicate 
rows with the same dimension values
URL: 
https://github.com/apache/incubator-druid/issues/8276#issuecomment-520055677
 
 
   Ah, sorry, I just realized that "cpu" is a max aggregator here, can you try 
a sum on count instead?
   
   ```
   SELECT accountid, SUM(count) 
   FROM "kube-metrics-minute" 
   WHERE accountid='52c7e28eebb26a86fb1505b5' AND  
    "__time" >= TIMESTAMP '2019-08-09 14:00:00' AND "__time" < TIMESTAMP 
'2019-08-09 16:30:00' AND cluster='ds' AND etype='container' AND 
namespace='default' AND name='app-alertproc' AND 
pod='alertproc-deployment-65f59b6b8-gc57m' 
   GROUP BY accountid
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to