You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/01/20 00:10:27 UTC

[jira] [Comment Edited] (CALCITE-1587) Druid adapter: topN returns approximate results

    [ 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)