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

根据on_click_diary_card计算ctr

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