Re: Hive Query Question

2011-06-20 Thread Praveen Kumar
Gotcha, thanks ! pk

Re: Getting a weird error when using the ngrams function

2011-06-20 Thread John Sichi
Hmmm, I think this might be a bug which is only exposed when one of the mappers gets zero rows of input. If you have a Hive build, can you try adding this before line 238 of GenericUDAFnGrams.java? if (n == 0) { return; } Just before this line: if(myagg.n > 0 && n > 0 && myagg.n != n)

Getting a weird error when using the ngrams function

2011-06-20 Thread Matthew Rathbone
Hoping someone with more expertise could help on this: I have no idea what's causing this to happen, but here is the exception: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row (tag=0) {"key":{},"value":{"_col0":["0","0","0","

Re: Issue on using hive Dynamic Partitions on larger tables

2011-06-20 Thread Bejoy Ks
Thanks Steven. Now I'm out of that bug, but another one pops when I'm trying for Dynamic partitions with larger tables. I have implemenetd the same on smaller tables using the same approach mentioned below, but some how it fails for larger tables. My Larger source Table(parameter_def) contain