You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2018/03/26 14:00:00 UTC

[jira] [Updated] (IGNITE-8047) SQL: optimize simple COUNT with DISTINCT query.

     [ https://issues.apache.org/jira/browse/IGNITE-8047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Mashenkov updated IGNITE-8047:
-------------------------------------
    Description: 
"Select COUNT(DISTINCT field) From table;" fetch full data set to reduce node.
Looks like we can add group by 'field' to map query to reduce fetched dataset size.

See details on nabble [1].

[1] http://apache-ignite-users.70518.x6.nabble.com/COUNT-DISTINCT-could-push-down-group-expressions-tt20782.html

> SQL: optimize simple COUNT with DISTINCT query.
> -----------------------------------------------
>
>                 Key: IGNITE-8047
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8047
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Andrew Mashenkov
>            Priority: Major
>
> "Select COUNT(DISTINCT field) From table;" fetch full data set to reduce node.
> Looks like we can add group by 'field' to map query to reduce fetched dataset size.
> See details on nabble [1].
> [1] http://apache-ignite-users.70518.x6.nabble.com/COUNT-DISTINCT-could-push-down-group-expressions-tt20782.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)