TEIID-3053 adding detection of local temp table usage