Hi team Quick question.
I am writing a hive generic UDF. In which, I wanna have this: HashMap<String, String> vpDefinition = new HashMap<String, String>() ; vpDefinition.push(“auction_id”,”22”) ; The second line always give me FAILED: ClassCastException org.apache.hadoop.io.Text cannot be cast to java.lang.String When I run the generic udf in hive. Does anyone know how to deal with this issue ? I do not understand that, why do I have this cannot cast error. Could anyone explain please ? Thanks Dan