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

Dmitriy Setrakyan commented on IGNITE-8047:
-------------------------------------------

Vladimir, looks like a very nice optimization.  assigned it to version 2.5. If 
2.5 is not possible, then feel free to reassign to 2.6.

> SQL: optimize simple COUNT with DISTINCT query.
> -----------------------------------------------
>
>                 Key: IGNITE-8047
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8047
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Andrew Mashenkov
>            Assignee: Vladimir Ozerov
>            Priority: Major
>             Fix For: 2.5
>
>
> "Select COUNT(DISTINCT <expr>) From table;" will fetch full data set to 
> reduce node.
>  Looks like we can -add group by '<expr>'- push down DISTINCT into map query 
> to reduce network pressure.
> 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