hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Gong" <fellowt...@163.com>
Subject can i define an udf which can process more than one argument?
Date Fri, 19 Oct 2012 03:36:07 GMT
i find that UDF can only process one argument like
public long evaluate(String ip) {


}


can i define a udf like  COALESCE(T v1, T v2, …) or  if(boolean testCondition, T valueTrue,
T valueFalseOrNull)?




Chris Gong
Mime
View raw message