Hi Guys,
I installed spark in my system and tried to create one user defined function in scala. But it shows me the below error.
error: Caused by: org.apache.spark.SparkException: Failed to execute user defined function at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIterator.processNext.
How can I solve this error?