Re: Help with simple UDF error.. [fixed]

2014-02-13 Thread Manish
On 2/13/14, 9:20 AM, John Meagher wrote: Try changing ArrayList to just List as the argument to the evaluate function. +1 worked thanks!

Re: Help with simple UDF error..

2014-02-13 Thread John Meagher
Try changing ArrayList to just List as the argument to the evaluate function. On Thu, Feb 13, 2014 at 12:15 PM, Manish wrote: > Hello: > While running the hive query : > > hive> select "Actor", count (*) from metrics where > array_contains(type_tuple, "Actor") and checkAttributes (attribute_tuple

Help with simple UDF error..

2014-02-13 Thread Manish
Hello: While running the hive query : hive> select "Actor", count (*) from metrics where array_contains(type_tuple, "Actor") and checkAttributes (attribute_tuple, "p1", "Actor") ; I get this error : FAILED: SemanticException [Error 10014]: Line 1:103 Wrong arguments '"Actor"': No matching m