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

取icon训练数据

parent 9c578a75
......@@ -668,6 +668,7 @@ object tag_value {
|select distinct(level1_id) as level_id,'${t1}' as value
|from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}'
|and level1_id !='0'
""".stripMargin
)
level1_id.createOrReplaceTempView("level1_id")
......@@ -677,6 +678,7 @@ object tag_value {
|select distinct(level2_id) as level_id,'${t2}' as value
|from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}'
|and level2_id !='0'
""".stripMargin
)
level2_id.createOrReplaceTempView("level2_id")
......@@ -686,6 +688,7 @@ object tag_value {
|select distinct(level3_id) as level_id,'${t3}' as value
|from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}'
|and level3_id !='0'
""".stripMargin
)
level3_id.createOrReplaceTempView("level3_id")
......
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