Commit 9c578a75 authored by 王志伟's avatar 王志伟

取icon训练数据

parent 57b4cb8e
......@@ -523,13 +523,13 @@ object icon_train_data {
val temp_diary = sc.sql(
s"""
|select '${stat_date}' as stat_date,device_id,tag_id,level1_id as level
|select '${stat_date}' as stat_date,device_id,tag_id,level1_id as level_id
|from diary_tag_detail
|union all
|select '${stat_date}' as stat_date,device_id,tag_id,level2_id as level
|select '${stat_date}' as stat_date,device_id,tag_id,level2_id as level_id
|from diary_tag_detail
|union all
|select '${stat_date}' as stat_date,device_id,tag_id,level3_id as level
|select '${stat_date}' as stat_date,device_id,tag_id,level3_id as level_id
|from diary_tag_detail
""".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