fix CREATE FUNCTION with UDT without keyspace + unit test