I'm running into the same issue, and I see that it's addressed in HIVE-2223.
In the meantime, I'm getting an error when trying to use the reflect() function : SELECT reflect("org.apache.commons.lang.StringUtils", "join", collectedSet), ... FAILED: Error in semantic analysis: Line 1:69 Argument type mismatch collectedSet: The parameters of GenericUDFReflect(class,method[,arg1[,arg2]...]) must be primitive (int, double, string, etc). Matt Tucker Associate eBusiness Analyst Walt Disney Parks and Resorts Online Ph: 407-566-2545 Tie: 8-296-2545