Seaquel
MySQL error code

MySQL error 3952

MySQL server error 3952 is ER_DA_UDF_INVALID_RETURN_TYPE_TO_SET_CHARSET, reported with SQLSTATE HY000.

Character set can be set only for the UDF RETURN type STRING.
Error3952
NameER_DA_UDF_INVALID_RETURN_TYPE_TO_SET_CHARSET
SQLSTATEHY000
GroupServer errors

Source: MySQL 8.4 Error Reference