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
Post a Comment