The following is my java code:
package com.hive.udf;
import org.apache.hadoop.hive.ql.exec.UDF;
import org.apache.hadoop.io.text;
public final class MyUpper extends UDF{
public Text evaluate(final Text s) {
if(s == null) {return null;}
return new text(s.toString().toUpperCase());
}
}
How to resolve this issue?