TEIID-2572 adding support for function native query