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 Watzek (JIRA)" <ji...@apache.org> on 2005/11/24 12:00:56 UTC

[jira] Created: (JDO-221) Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.

Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.
---------------------------------------------------------------------------------------------------

         Key: JDO-221
         URL: http://issues.apache.org/jira/browse/JDO-221
     Project: JDO
        Type: Bug
  Components: tck20  
    Reporter: Michael Watzek
 Assigned to: Michael Watzek 


Test case AggregateResult misses DISTINCT queries and navigational expressions in aggregate queries for all aggregates, e.g

- SELECT COUNT(DISTINCT manager) FROM Employee
- SELECT COUNT(manager.id) FROM Employee


-- 
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-221) Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.

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

Michael Bouschen commented on JDO-221:
--------------------------------------

JDOQL does not support DISTINCT as part of the argument of MIN and MAX, so we need to skip these queries. Other than that  it is ready to be checked in.

> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.
> ---------------------------------------------------------------------------------------------------
>
>          Key: JDO-221
>          URL: http://issues.apache.org/jira/browse/JDO-221
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-221.patch
>
> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggregate queries for all aggregates, e.g
> - SELECT COUNT(DISTINCT manager) FROM Employee
> - SELECT COUNT(manager.id) FROM Employee

-- 
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-221) Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.

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

Michael Bouschen commented on JDO-221:
--------------------------------------

Looks good!

> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.
> ---------------------------------------------------------------------------------------------------
>
>          Key: JDO-221
>          URL: http://issues.apache.org/jira/browse/JDO-221
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-221.patch, JDO-221.patch2
>
> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggregate queries for all aggregates, e.g
> - SELECT COUNT(DISTINCT manager) FROM Employee
> - SELECT COUNT(manager.id) FROM Employee

-- 
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-221) Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.

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

Michael Watzek updated JDO-221:
-------------------------------

    Attachment: JDO-221.patch2

The second patch implements the comments above.


> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.
> ---------------------------------------------------------------------------------------------------
>
>          Key: JDO-221
>          URL: http://issues.apache.org/jira/browse/JDO-221
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-221.patch, JDO-221.patch2
>
> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggregate queries for all aggregates, e.g
> - SELECT COUNT(DISTINCT manager) FROM Employee
> - SELECT COUNT(manager.id) FROM Employee

-- 
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-221) Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.

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

    Resolution: Fixed

The second patch has been checked in (Revision 349707).


> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.
> ---------------------------------------------------------------------------------------------------
>
>          Key: JDO-221
>          URL: http://issues.apache.org/jira/browse/JDO-221
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-221.patch, JDO-221.patch2
>
> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggregate queries for all aggregates, e.g
> - SELECT COUNT(DISTINCT manager) FROM Employee
> - SELECT COUNT(manager.id) FROM Employee

-- 
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-221) Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.

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

Michael Watzek updated JDO-221:
-------------------------------

    Attachment: JDO-221.patch

The attached patch fixes this issue.


> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggrgate queries.
> ---------------------------------------------------------------------------------------------------
>
>          Key: JDO-221
>          URL: http://issues.apache.org/jira/browse/JDO-221
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-221.patch
>
> Test case AggregateResult misses DISTINCT queries and navigational expressions in aggregate queries for all aggregates, e.g
> - SELECT COUNT(DISTINCT manager) FROM Employee
> - SELECT COUNT(manager.id) FROM Employee

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