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

Reply via email to