hadoop - Optimized hive query needed -


we have 2 tables containing huge data. , have perform inner join between these 2 tables. joining condition based on 3 columns c1,c2,c3.

need in writing optimized query above scenario. please refer data model below.

table1  c1,c2,c3,c4,c5   table2  c1,c2,c3 

appreciate help. thanks.

if understand hortonworks' founder owen o'malley correctly, may optimize writing

select t1.* table1 t1 join (select table2.* table2) t2 on (t1.c1=t2.c1 , t1.c1 = t2.c2 , t1.c3 = t2.c3) 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -