Re: Hive exception while getting duplicate records with in the table

2014-07-27 Thread Navis류승우
Try, select a.* from tmp_source_fs_price1 a join ( select fund_id,nav_date,CURRENCY,nav,count(1) from tmp_source_fs_price1 group by fund_id,nav_date,CURRENCY,nav having count(1) > 1) b on a.fund_id = b.fund_id ; The grammar you've mentioned is not supported in hive-0.11.0 (hive-0.13.0, by HIVE-6

Hive exception while getting duplicate records with in the table

2014-07-24 Thread Adi Reddy
Hi Team, I am looking for to get duplicate records with in the table (using hive version : 0.11.0 ) . Below is my query : select a.* from tmp_source_fs_price1 a, ( select fund_id,nav_date,CURRENCY,nav,count(1) from tmp_source_fs_price1 group by fund_id,nav_date,CURRENCY,nav having count(1) >