Commit a595d449 by jinfeng.wang

fix

parent 5e84c730
......@@ -23,8 +23,9 @@ sql="INSERT OVERWRITE DIRECTORY '${base_dir}/${date_path}'
LATERAL VIEW EXPLODE(SPLIT(REGEXP_REPLACE(REGEXP_REPLACE(SUBSTRING(category,2,LENGTH(category) - 2),'\"',''),' ',''),',')) featTable AS feat_id) a
INNER JOIN dwh.dm_old2new_tag b ON a.feat_id = b.new_second_id
UNION ALL
SELECT package_name,platform,tag_type,first_tag,second_tag,comment
FROM dwh.dim_package_tags
SELECT c.package_name,c.platform,c.tag_type,c.first_tag,c.second_tag,c,comment
FROM dwh.dim_package_tags c LEFT JOIN dev.app_tag d ON LOWER(c.package_name) = LOWER(d.package_name)
WHERE d.package_name IS NULL
) package_tags
"
......
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