You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2014/06/25 18:36:24 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=14043710#comment-14043710 ]
Adam Heath commented on OFBIZ-5115:
-----------------------------------
I understand all that is here. The problem(without even looking at the code), and the lack of a test case.
Since I just fixed all the entity test suite cases for java 1.7, I'm willing to create a test case for this.
> 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
> Assignee: Adam Heath
> 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 was sent by Atlassian JIRA
(v6.2#6252)