Commit 2a738f46 by jinfeng.wang

fix

parent 3b429c21
......@@ -28,7 +28,7 @@ base_dir="s3://mob-emr-test/dataplatform/DataWareHouse/data/dwh/dim_package_tags
sql="INSERT OVERWRITE DIRECTORY '${base_dir}/${date_path}'
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'
SELECT package_name, platform, tag_type,first_tag, second_tag, COLLECT_SET(comment) FROM
SELECT package_name, platform, tag_type,first_tag, second_tag, CONCAT_WS(',',COLLECT_SET(comment)) comment FROM
(SELECT a.package_name,a.platform,b.tag_type,b.first_tag,b.second_tag,b.comment_cn comment
FROM (SELECT package_name,lower(platform) platform,feat_id
FROM dev.app_tag
......
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