We have a requirement to write an udf returning map/list values. pseudo
code of this udf like below
public class MyUDF extends UDF {
public Map<?,?> evaluate(String lhs, String rhs) {
...
}
}
will it work? If work, how can i write my sql to retrieve map's member? if
not , how can i solve the problem through another way? GenericUDF?
Thanks,
Min
--
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.
My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com