Jira issue originally created by user h-andreas: The following query fails with `Cannot group by undefined identification variable` (yes CAST-Function was added). Would be nice to have such a feature, ``` sql SELECT ... FROM Task t ... WHERE ... GROUP BY CAST(t.scheduledDate as date) ```