You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by bangbig <li...@163.com> on 2011/05/17 12:53:31 UTC

how to use UDF or UDAF to implement the keywords like "CASE WHEN a THEN b..."

Hi all,
I find that, to implement such a statement, there are mutiple source files related. GenericUDFCase.java, GenericUDFWhen.java etc. I want to know how they are related. Could anyone give me some ideas about this? And is it possible to implement them with UDF? thanks!
Best Regards,
ZL.