[ 
https://issues.apache.org/jira/browse/CALCITE-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830867#comment-15830867
 ] 

Julian Hyde edited comment on CALCITE-1587 at 1/20/17 12:09 AM:
----------------------------------------------------------------

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/517bf62e.

The new properties are called {{approximateDistinctCount}} and 
{{approximateTopN}}; see 
https://calcite.apache.org/docs/adapter.html#jdbc-connect-string-parameters


was (Author: julianhyde):
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/517bf62e.

> Druid adapter: topN returns approximate results
> -----------------------------------------------
>
>                 Key: CALCITE-1587
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1587
>             Project: Calcite
>          Issue Type: Bug
>          Components: druid
>    Affects Versions: 1.11.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Julian Hyde
>             Fix For: 1.12.0
>
>
> Currently, we convert to _topN_ queries. However, metrics returned by Druid 
> will be approximate values. Thus, probably we should not convert to Druid 
> topN queries and rather always use Druid groupBy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to