TEIID-1522 TEIID-2336 adding logic for even more simple projection,
merging of nested tables, and a decomposed array_table