Oracle Error Message
ORA-40212: invalid target data type in input data for string function
Reason for the Error
Target data type was invalid.
Solution
Classification function accepts CHAR,VARCHAR2, and NUMBER targets. Regression function accepts NUMBER targets only.