Hi, On Wed, Dec 3, 2014 at 4:31 PM, Jerry Raj <jerry....@gmail.com> wrote: > > Exception in thread "main" java.lang.RuntimeException: [1.57] failure: > ``('' expected but identifier myudf found > > I also tried returning a List of Ints, that did not work either. Is there > a way to write a UDF that returns a list? >
You seem to be hitting a parser limitation before your function is even called. The message you are seeing is saying "there must be an opening bracket here", and I am afraid you won't get around this whatever function you write... (maybe the HiveContext provides a possibility, though). Tobias