Commit a242f8ad by WangJinfeng

fix adn_request_sdk_unmatch

parent aaf937cd
...@@ -62,7 +62,7 @@ object MobvistaConstant { ...@@ -62,7 +62,7 @@ object MobvistaConstant {
val adn_reuqest_sdk_unmatch_sql: String = val adn_reuqest_sdk_unmatch_sql: String =
""" """
|SELECT device_id, device_type, platform, MAX(country) country, toJsonBySplit(CONCAT_WS(';',COLLECT_SET(package_name)), platform, update_date) install_list, |SELECT device_id, device_type, platform, MAX(country) country, toJsonBySplit(CONCAT_WS(';',COLLECT_SET(package_name)), platform, MAX(update_date)) install_list,
| parseMExtData(CONCAT_WS(',',COLLECT_SET(strategy)), CONCAT_WS(',',COLLECT_SET(region)), MAX(dev_tag)) ext_data | parseMExtData(CONCAT_WS(',',COLLECT_SET(strategy)), CONCAT_WS(',',COLLECT_SET(region)), MAX(dev_tag)) ext_data
| FROM dwh.etl_adn_request_sdk_unmatch WHERE `dt` = '@dt' AND update_date >= '@update_date' AND check_device(device_id) | FROM dwh.etl_adn_request_sdk_unmatch WHERE `dt` = '@dt' AND update_date >= '@update_date' AND check_device(device_id)
| GROUP BY device_id, device_type, platform | GROUP BY device_id, device_type, platform
......
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