You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/08/01 02:56:31 UTC

[GitHub] gianm commented on issue #6085: SQL bug of avg function

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org