damnMeddlingKid commented on issue #10072: URL: https://github.com/apache/druid/issues/10072#issuecomment-650343199
I've tracked down the issue to here https://github.com/apache/druid/blob/master/sql/src/main/java/org/apache/druid/sql/calcite/aggregation/builtin/AvgSqlAggregator.java#L71 we don't filter this count aggregator factory so it's counting all the rows in the column even if they're null. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
