TEIID-2794 throwing an exception on an ambiguous function call