db-derby-dev mailing list archives

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

Date

Sat, 06 May 2006 00:12:28 GMT

[ http://issues.apache.org/jira/browse/DERBY-883?page=all ]
Daniel John Debrunner updated DERBY-883:
----------------------------------------
type: New Feature (was: Bug)
Seems like supporting expressions in the GROUP BY clause is similar to the improvement made
to support expressions in the ORDER BY clause that Tomohito did a while ago.
Can we use the knowledge/implementation details from the ORDER BY work to do the GROUP BY
improvement?
> Date functions are 'syntax error' in group by clause
> ----------------------------------------------------
>
> Key: DERBY-883
> URL: http://issues.apache.org/jira/browse/DERBY-883
> Project: Derby
> Type: New Feature
> 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