hadoop - Distinct in hive -


i want use distinct in hive query.so query looks like

insert overwrite table tablename select distinct a.id id , a.id sid left join b on a.id = b.id;  

so in above query want insert same value 2 different column.with distinct query doesn't work ,otherwise works.


Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -