[teiid-issues] [JBoss JIRA] (TEIID-5303) MongoDB translator issues with aggregate function expressions

Steven Hawkins (JIRA) issues at jboss.org
Thu Mar 29 13:15:00 EDT 2018


     [ https://issues.jboss.org/browse/TEIID-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins updated TEIID-5303:
----------------------------------
          Component/s: Misc. Connectors
        Fix Version/s: 10.3
    Affects Version/s: 8.7


> MongoDB translator issues with aggregate function expressions
> -------------------------------------------------------------
>
>                 Key: TEIID-5303
>                 URL: https://issues.jboss.org/browse/TEIID-5303
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.7
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 10.3
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list