Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
4.7.0
-
None
-
None
-
Windows Server 2012;
Phoenix Driver: phoenix-4.7.0.2.5.0.0-1245-client.jar
Description
If you have, for example, the statement below:
SELECT COALESCE(ColumnA, '') FROM TableA GROUP BY COALESCE(ColumnA, '');
I get the error
(ERROR 1018 (42Y27): Aggregate may not contain columns not in GROUP BY. null
If I use a space ' ' instead of an empty string '', it starts working.