CDB-1477 #resolve - autocomplete pattern checking table name too
Merge CDB-1477 into release/2.8.2