paul-rogers commented on issue #11586: URL: https://github.com/apache/druid/issues/11586#issuecomment-902295161
@SharuBob, thanks for pointing out the related issue. As it turns out, the query I'm using has no `HAVING` clause. In my case, the issue seems related to the nested queries. However, you may be right that both are symptoms of the same underlying issue, perhaps in the Calcite planner. The solution I used is simply to omit the outer `COUNT(*)` and have the client do the counting. Doing so is inefficient, and may not scale to huge data sets. But, it was a quick & dirty work-around for my specific use case. -- 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]
