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.