gianm commented on issue #6085: SQL bug of avg function URL: https://github.com/apache/incubator-druid/issues/6085#issuecomment-409433128 Hi @hellobabygogo, currently, Druid SQL is not rollup-aware. So for average on a rolled up datasource you should instead write: `select sum(queryTime) / sum("count")`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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]
