Commit 676b41f4 authored by 王志伟's avatar 王志伟

取icon训练数据

parent a87554ef
...@@ -660,12 +660,12 @@ object tag_value { ...@@ -660,12 +660,12 @@ object tag_value {
//tag_id到权重映射 //tag_id到权重映射
val tag_value=sc.sql( val tag_value=sc.sql(
s""" s"""
|select concat_ws(':',distintc(level1_id),'0.25') as level_value |select concat_ws(':',distinct(level1_id),'0.25') as level_value
|from online.bl_tag_hierarchy_detail |from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}' |where partition_date = '${partition_date}'
""".stripMargin """.stripMargin
) )
tag_value.show() tag_value.show(300)
tag_value.createOrReplaceTempView("tag_value") tag_value.createOrReplaceTempView("tag_value")
......
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