TEIID-2374 adding support for common table expressions