Commit 361e9bab by WangJinfeng

fix reyun tracking_log

parent a3f58be6
......@@ -12,7 +12,7 @@ object Constant {
"""
|SELECT created, app_id, creative_id, platform, os_version, device_brand, device_model, country_code, network_type, ip, imei,
| mac, dev_id, idfa, ext_packagename, ext_finalpackagename, ext_channel, ext_oaid, ext_advinstalltime, ext_eventtime,
| ext_campaignpackagename, ext_deviceid
| ext_campaignpackagename, ext_deviceid, ext_exchange exchange
| FROM dwh.ods_adn_trackingnew_impression
| WHERE yyyy = '@year' and mm = '@month' and dd = '@day' AND UPPER(country_code) = 'CN'
|""".stripMargin
......@@ -20,7 +20,8 @@ object Constant {
val tracking_install =
"""
|SELECT created, app_id, advertiser_id, creative_id, platform, os_version, device_brand, device_model, country_code, network_type,
| ip, imei, mac, dev_id, idfa, ext_campaignpackagename, ext_finalpackagename, ext_advinstalltime, ext_oaid, ext_eventtime, ext_deviceid
| ip, imei, mac, dev_id, idfa, ext_campaignpackagename, ext_finalpackagename, ext_advinstalltime, ext_oaid, ext_eventtime,
| ext_deviceid, ext_exchange exchange
| FROM dwh.ods_adn_trackingnew_install
| WHERE yyyy = '@year' and mm = '@month' and dd = '@day'
|""".stripMargin
......@@ -29,7 +30,7 @@ object Constant {
"""
|SELECT created, app_id, creative_id, platform, os_version, device_brand, device_model, country_code, network_type, ip, imei,
| mac, dev_id, idfa, ext_packagename, ext_finalpackagename, ext_channel, ext_oaid, ext_advinstalltime, ext_eventtime,
| ext_campaignpackagename, ext_deviceid
| ext_campaignpackagename, ext_deviceid, ext_exchange exchange
| FROM dwh.ods_adn_trackingnew_click
| WHERE yyyy = '@year' and mm = '@month' and dd = '@day'
|""".stripMargin
......
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