Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.2
-
None
-
PostgreSQL
Description
Custom operators are not properly replaced by an alias in the group by section leading to the incorrect SQL.
For example selecting Entity.DATA.operator("->>", String.class, "field").alias("field") results in the following SQL GROUP BY t0.data ->> ? field
Note that functions are working fine in that case.