I was facing the same problem few weeks ago. The final solution was quick
and dirty - I grabbed the code for this UDF from
compiled it the same way as my other UDFs.

The only part that doesn't work with hive 0.7 is the argument type checking
in initialize() method because of serdeConstants were not available in this
version. The dirty part of the solution is that I just commented out all
but last two lines of this method and the serdeConstants import :-) As long
as you don't pass wrong arguments to it, it works fine, otherwise you get
an error at runtime, while proper code should refuse to even compile the

On Fri, Jun 14, 2013 at 11:51 AM, lxw <[EMAIL PROTECTED]> wrote: