Commit 99346907 authored by 王志伟's avatar 王志伟

根据on_click_diary_card计算ctr

parent dbe1855b
...@@ -515,7 +515,7 @@ object diary_clk_card { ...@@ -515,7 +515,7 @@ object diary_clk_card {
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params['page_name'] = 'home' |and ot.params['page_name'] = 'home'
|and ot.cl_id regexp'1$$' |and ot.cl_id regexp'1$$'
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -528,7 +528,7 @@ object diary_clk_card { ...@@ -528,7 +528,7 @@ object diary_clk_card {
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params["card_type"]="diary" |and ot.params["card_type"]="diary"
|and ot.cl_id regexp'1$$' |and ot.cl_id regexp'1$$'
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -553,7 +553,7 @@ object diary_clk_card { ...@@ -553,7 +553,7 @@ object diary_clk_card {
|where ot.action='on_click_diary_card' |where ot.action='on_click_diary_card'
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params['page_name'] = 'home' |and ot.params['page_name'] = 'home'
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -565,7 +565,7 @@ object diary_clk_card { ...@@ -565,7 +565,7 @@ object diary_clk_card {
|where ot.action='full_stack_click_video_card_full_screen_play' |where ot.action='full_stack_click_video_card_full_screen_play'
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params["card_type"]="diary" |and ot.params["card_type"]="diary"
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -609,7 +609,7 @@ object diary_clk_card { ...@@ -609,7 +609,7 @@ object diary_clk_card {
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params['page_name'] = 'home' |and ot.params['page_name'] = 'home'
|and ot.cl_id regexp'1$$' |and ot.cl_id regexp'1$$'
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -623,7 +623,7 @@ object diary_clk_card { ...@@ -623,7 +623,7 @@ object diary_clk_card {
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params["card_type"]="diary" |and ot.params["card_type"]="diary"
|and ot.cl_id regexp'1$$' |and ot.cl_id regexp'1$$'
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -649,7 +649,7 @@ object diary_clk_card { ...@@ -649,7 +649,7 @@ object diary_clk_card {
|where ot.action='on_click_diary_card' |where ot.action='on_click_diary_card'
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params['page_name'] = 'home' |and ot.params['page_name'] = 'home'
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -661,7 +661,7 @@ object diary_clk_card { ...@@ -661,7 +661,7 @@ object diary_clk_card {
|where ot.action='full_stack_click_video_card_full_screen_play' |where ot.action='full_stack_click_video_card_full_screen_play'
|and ot.params['tab_name'] = '精选' |and ot.params['tab_name'] = '精选'
|and ot.params["card_type"]="diary" |and ot.params["card_type"]="diary"
|and ot.partition_date ='${stat_date}' |and ot.partition_date ='${partition_date}'
""".stripMargin """.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