finalvalACTION_CATEGORY_SQL_HEART:String="select action_type,action_category from pica_dw.dw_dim_log_action_type where action_type='ACTION_HEART_BEAT'"
finalvalACTION_CATEGORY_SQL_HEART:String="select action_type,action_category from pica_dw.dw_dim_log_action_type where action_type='ACTION_HEART_BEAT'"
finalvalACTION_URLLABEL_SQL:String="select url_content,label_value from pica_dw.dw_dim_log_action_urllabel "
finalvalACTION_URLLABEL_SQL:String="select url_content,label_value from pica_dw.dw_dim_log_action_urllabel "
|ss.date_time from ${MyConfigSession.VIEW_DEVICE_TOKEN} AS ss
|ss.date_time from ${MyConfigSession.VIEW_DEVICE_TOKEN} AS ss
|left join (select id,cast(id as string) id_str from pica_ds.pica_doctor a where a.delete_flag = 1 and to_date(a.creat_time) <= '${created_day}') AS b on ss.user_id = b.id_str
|left join (select id,cast(id as string) id_str from pica_ds.pica_doctor a where a.delete_flag = 1 and to_date(a.creat_time) <= '${created_day}') AS b on ss.user_id = b.id_str
...
@@ -461,8 +484,30 @@ class SessionProcess extends java.io.Serializable{
...
@@ -461,8 +484,30 @@ class SessionProcess extends java.io.Serializable{
varsourceDF:DataFrame=sessionProcessPref.sparkSession.sql(MyConfigSession.SOURCE_SQL_PREF+s" and created_day='${scnData}'").repartition(200).distinct()
|left join (select id,cast(id as string) id_str from pica_ds.pica_doctor a where a.delete_flag = 1 and to_date(a.creat_time) <= '${created_day}') AS b on ss.user_id = b.id_str