TEIID-3119 performance improvements for aggregate and tree processing in
general