You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (JIRA)" <ji...@apache.org> on 2006/05/26 14:44:29 UTC

[jira] Created: (JDO-381) Add more queries using aggregates to TCK query test class DefaultUnique

Add more queries using aggregates to TCK query test class DefaultUnique 
------------------------------------------------------------------------

         Key: JDO-381
         URL: http://issues.apache.org/jira/browse/JDO-381
     Project: JDO
        Type: Improvement

  Components: tck20  
    Versions: JDO 2 final    
    Reporter: Michael Bouschen
 Assigned to: Michael Bouschen 
     Fix For: JDO 2 maintenance release 1


The TCK test class DefaultUnique in package org.apache.jdo.tck.query.result checks the default setting of the query unqiue flag.  Today the class runs a COUNT query as the only aggregate test. I propose to add more test queries to cover the other aggregates AVG, MIN, MAX, and SUM. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JDO-381) Add more queries using aggregates to TCK query test class DefaultUnique

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-381?page=all ]
     
Michael Bouschen resolved JDO-381:
----------------------------------

    Resolution: Fixed

I checked in the patch (see revision 410505).

> Add more queries using aggregates to TCK query test class DefaultUnique
> -----------------------------------------------------------------------
>
>          Key: JDO-381
>          URL: http://issues.apache.org/jira/browse/JDO-381
>      Project: JDO
>         Type: Improvement

>   Components: tck20
>     Versions: JDO 2 final
>     Reporter: Michael Bouschen
>     Assignee: Michael Bouschen
>      Fix For: JDO 2 maintenance release 1
>  Attachments: JDO-381.patch
>
> The TCK test class DefaultUnique in package org.apache.jdo.tck.query.result checks the default setting of the query unqiue flag.  Today the class runs a COUNT query as the only aggregate test. I propose to add more test queries to cover the other aggregates AVG, MIN, MAX, and SUM. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (JDO-381) Add more queries using aggregates to TCK query test class DefaultUnique

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-381?page=all ]

Michael Bouschen updated JDO-381:
---------------------------------

    Attachment: JDO-381.patch

Please review the attached patch JDO-381.patch. It adds more aggregate queries (w/ and w/o grouping) to the DefaultUnique query test class.

> Add more queries using aggregates to TCK query test class DefaultUnique
> -----------------------------------------------------------------------
>
>          Key: JDO-381
>          URL: http://issues.apache.org/jira/browse/JDO-381
>      Project: JDO
>         Type: Improvement

>   Components: tck20
>     Versions: JDO 2 final
>     Reporter: Michael Bouschen
>     Assignee: Michael Bouschen
>      Fix For: JDO 2 maintenance release 1
>  Attachments: JDO-381.patch
>
> The TCK test class DefaultUnique in package org.apache.jdo.tck.query.result checks the default setting of the query unqiue flag.  Today the class runs a COUNT query as the only aggregate test. I propose to add more test queries to cover the other aggregates AVG, MIN, MAX, and SUM. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (JDO-381) Add more queries using aggregates to TCK query test class DefaultUnique

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-381?page=comments#action_12413897 ] 

Craig Russell commented on JDO-381:
-----------------------------------

The patch looks good.

> Add more queries using aggregates to TCK query test class DefaultUnique
> -----------------------------------------------------------------------
>
>          Key: JDO-381
>          URL: http://issues.apache.org/jira/browse/JDO-381
>      Project: JDO
>         Type: Improvement

>   Components: tck20
>     Versions: JDO 2 final
>     Reporter: Michael Bouschen
>     Assignee: Michael Bouschen
>      Fix For: JDO 2 maintenance release 1
>  Attachments: JDO-381.patch
>
> The TCK test class DefaultUnique in package org.apache.jdo.tck.query.result checks the default setting of the query unqiue flag.  Today the class runs a COUNT query as the only aggregate test. I propose to add more test queries to cover the other aggregates AVG, MIN, MAX, and SUM. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira