Zain Humayun created CALCITE-1853:
-------------------------------------
Summary: Push Count distinct into Druid when approximate results
are acceptable
Key: CALCITE-1853
URL: https://issues.apache.org/jira/browse/CALCITE-1853
Project: Calcite
Issue Type: Bug
Components: druid
Reporter: Zain Humayun
Assignee: Zain Humayun
Currently queries such as
{code:sql}
select count(distinct "dimension") from "table";
{code}
are not pushed into Druid using the cardinality aggregator because it produces
an approximate result. There exists a JDBC string parameter called
{{approximateDistinctCount}} introduced in CALCITE-1587 that lets the user
specify whether approximate results are acceptable in count distinct queries,
however this parameter is not currently utilized by the Druid adapter.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)