Details
Description
The function actually exists in current selected database, but the exception message is:
This function is neither a registered temporary function nor a permanent function registered in the database 'default'.
My UDF has already been registered in the current database. But it's failed to init during lookupFunction.
The exception message should be:
No handler for Hive UDF 'site.stanzhai.UDAFXXX': org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException: Two arguments is expected
This is not conducive to positioning problems.