Sql error when set useApproximateCountDistinct equals false

Hi, all

when I used set useApproximateCountDistinct equals false in sql to count distinct dimension, it happened" “errorMessage”: “Cannot build plan for query: SELECT COUNT(DISTINCT chat_id) FROM session_public_log”, But it’s ok when i set useApproximateCountDistinct equals true. What’s wrong?

Druid 0.10.0 doesn’t know how to plan exact count distinct queries (so it just gives you an error) but Druid 0.10.1 will. You can check out a release candidate here: http://druid.io/downloads.html

Thanks!

在 2017年7月11日星期二 UTC+8下午1:23:16,Gian Merlino写道: