Commit fc289a8b by xupeng

修正用户商品交叉特征

parent ce824c32
......@@ -45,8 +45,8 @@ select
T2.user_product_buy_is_match,
T2.user_product_buy_price_level
from ${table_name} T1
left join secoo_search.search_data_cross_feature_user_product_buy T2 on T1.device_id = T2.device_id and T1.product_id = T2.product_id
where T2.p_day = '${yesterday}';"
left join secoo_search.search_data_cross_feature_user_product_buy T2 on T2.p_day = '${yesterday}' and T1.device_id = T2.device_id and T1.product_id = T2.product_id
;"
hive -e "SELECT
sum(prodanduserpurchspecial),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment