Commit edfbb3d9 by fan.jiang

热晕标签测试fix bug

parent d7eba63d
......@@ -54,10 +54,13 @@ class ReyunLabelTest extends CommonSparkJob with Serializable{
try {
val sql1=
s"""
|select md5(dev_id) from dwh.ods_dmp_user_info_daily
|select md5(upper(dev_id)) from
|(select dev_id from dwh.ods_dmp_user_info_daily
|where dt in ('${dt_today}','${one_day_ago}','${two_days_ago}')
|and platform='ios' and lower(country)='cn'
|and (osversion like '14%' or osversion like '15%' or osversion like '16%') limit 120000000
|and platform='ios' and dev_type='idfa' and lower(country)='cn'
|and (osversion like '14%' or osversion like '15%' or osversion like '16%')
|group by dev_id ) t
|limit 120000000
""".stripMargin
println("sql=============="+sql1)
......
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