[teiid-issues] [JBoss JIRA] (TEIID-2077) Factor out common table expressions