You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/12/28 09:42:12 UTC

[jira] [Commented] (OFBIZ-5115) wrong COUNT DISTINCT if there's GROUP BY clause

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

Jacques Le Roux commented on OFBIZ-5115:
----------------------------------------

Thanks Leon,

After a cursory review it makes sense to me. An use case would have been perfect, don't you have one handy?
                
> wrong COUNT DISTINCT if there's GROUP BY clause
> -----------------------------------------------
>
>                 Key: OFBIZ-5115
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5115
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-5115.patch
>
>
> if there's a "group by" and distinct find options set, then the count of select returned is always the total number of non-distinct.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira