-
Bug
-
Resolution: Unresolved
-
Major
-
8.7
-
None
MongoDB queries involing expressions with aggregate functions in the select or having clauses will fail. It appears that another projection phase is needed to handling those computations as they are not valid in the group operation.
For example, these result in exceptions:
SELECT min(e1)+1, e2 FROM TIME_TEST GROUP BY e2
SELECT min(e1), e2 FROM TIME_TEST GROUP BY e2 HAVING year(e2) + count(*) = 2
- relates to
-
TEIID-5301 With MongoDB, a query with subquery in HAVING clause doesn't return any results
-
- Resolved
-