[teiid-issues] [JBoss JIRA] (TEIID-1617) Incorrect rewrite of subquery