hive与like运营商联系

时间:2015-11-12 05:59:33

标签: hadoop hive apache-tez

我有两个表正在使用ORC压缩并使用TEZ作为执行引擎。 Table_a包含超过900k条记录,table_b包含1700万条记录。这个查询花了更长的时间我等了2天但查询执行没有完成。我在这个查询中做错了什么。

select min(up.id) as comp002uniqueid, min(cp.product_id) as p_id 
from 
(select * from table_a where u_id is null) up ,  table_b cp 
where  cp.title like concat('% ',up.productname,' %') 
group by up.productname;

0 个答案:

没有答案
相关问题