You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Zain Humayun (JIRA)" <ji...@apache.org> on 2017/06/20 20:13:00 UTC
[jira] [Commented] (CALCITE-1853) Push Count distinct into Druid
when approximate results are acceptable
[ https://issues.apache.org/jira/browse/CALCITE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056386#comment-16056386 ]
Zain Humayun commented on CALCITE-1853:
---------------------------------------
PR: https://github.com/apache/calcite/pull/478
> 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)