[teiid-issues] [JBoss JIRA] (TEIID-2178) aggregate functions fails with subquery argument