Re: GenericUDFRank UDF is not working as expected

2013-07-24 Thread Shahar Glixman
Thanks, but still not working. Any other ideas? On Wed, Jul 24, 2013 at 9:36 AM, Nitin Pawar wrote: > try rank(columntoberanked, columntobegrouped) > > in your case rank (userid, city) > > > On Wed, Jul 24, 2013 at 3:47 AM, Shahar Glixman wrote: > >> Hello, >> >> I'm trying to use GenericUDFRank

Re: GenericUDFRank UDF is not working as expected

2013-07-23 Thread Nitin Pawar
try rank(columntoberanked, columntobegrouped) in your case rank (userid, city) On Wed, Jul 24, 2013 at 3:47 AM, Shahar Glixman wrote: > Hello, > > I'm trying to use GenericUDFRank described in: > https://issues.apache.org/jira/browse/HIVE-2361, however, no matter > the query I use, the result

GenericUDFRank UDF is not working as expected

2013-07-23 Thread Shahar Glixman
Hello, I'm trying to use GenericUDFRank described in: https://issues.apache.org/jira/browse/HIVE-2361, however, no matter the query I use, the result is not what I expected. Assume a user hive table with the format: Country, City, userId I'm running the following query: ADD JAR Rank.jar; CREATE