Commit c7875e7e authored by 张彦钊's avatar 张彦钊

Merge branch 'master' of git.wanmeizhensuo.com:ML/ffm-baseline

统计指标中过滤黑名单
parents 13fb2d85 e7886b12
...@@ -56,10 +56,6 @@ object testt { ...@@ -56,10 +56,6 @@ object testt {
|select partition_date, sum(params['duration']) as total_dur,count(distinct(cl_id)) as num |select partition_date, sum(params['duration']) as total_dur,count(distinct(cl_id)) as num
|from online.tl_hdfs_maidian_view |from online.tl_hdfs_maidian_view
|where action="on_app_session_over" |where action="on_app_session_over"
|and cl_id regexp '${strategy}'
|and params['duration']>=0 and params['duration']<86400
|and partition_date >='20180801'
|group by partition_date order by partition_date desc
""".stripMargin """.stripMargin
) )
get_data_dura.show() get_data_dura.show()
......
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