Commit 57b4cb8e authored by 王志伟's avatar 王志伟

取icon训练数据

parent b964ebc2
......@@ -577,13 +577,13 @@ object icon_train_data {
val temp_meigou = 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