Commit d5734c95 by wangjf

fix

parent f0cb56fc
......@@ -17,7 +17,7 @@ base_dir="s3://mob-emr-test/dataplatform/DataWareHouse/data/dwh/dim_package_tags
sql="INSERT OVERWRITE DIRECTORY '${base_dir}/${date_path}'
SELECT a.package_name,a.platform,b.tag_type,b.first_tag,b.second_tag,b.comment_cn
FROM (SELECT package_name,lower(platform) platform,feat_id
FROM dev.app_tag_tmp
FROM dev.app_tag
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
......
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