You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mike Perham (JIRA)" <de...@db.apache.org> on 2006/04/17 17:59:18 UTC

[jira] Commented: (DERBY-883) Date functions are 'syntax error' in group by clause

    [ http://issues.apache.org/jira/browse/DERBY-883?page=comments#action_12374772 ] 

Mike Perham commented on DERBY-883:
-----------------------------------

This bug makes unit testing our data warehousing queries essentially impossible without modifying our actual schema.  This needs to be bumped from major to critical IMO.

> Date functions are 'syntax error' in group by clause
> ----------------------------------------------------
>
>          Key: DERBY-883
>          URL: http://issues.apache.org/jira/browse/DERBY-883
>      Project: Derby
>         Type: Bug

>   Components: SQL
>     Versions: 10.1.2.1
>  Environment: JDK 1.5.0_05
>     Reporter: Lluis Turro

>
> This select would return an error syntax on finding "(" after month if group by clause:
> select idissue, month(creation), year(creation), count(distinct idissue)
> where 
>   ....
> group by idissue, month(creation), year(creation)

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