Commit 8d9ba504 authored by 王志伟's avatar 王志伟

修复限制条件bug

parent 7c880884
...@@ -659,7 +659,7 @@ object tag_value { ...@@ -659,7 +659,7 @@ object tag_value {
|from online.bl_tag_hierarchy_detail |from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}' |where partition_date = '${partition_date}'
|and id !=0 |and id !=0
|and tag_type=1 |and tag_type='1'
""".stripMargin """.stripMargin
) )
level1_id.createOrReplaceTempView("level1_id") level1_id.createOrReplaceTempView("level1_id")
...@@ -670,7 +670,7 @@ object tag_value { ...@@ -670,7 +670,7 @@ object tag_value {
|from online.bl_tag_hierarchy_detail |from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}' |where partition_date = '${partition_date}'
|and id !=0 |and id !=0
|and tag_type=2 |and tag_type='2'
""".stripMargin """.stripMargin
) )
level2_id.createOrReplaceTempView("level2_id") level2_id.createOrReplaceTempView("level2_id")
...@@ -681,7 +681,7 @@ object tag_value { ...@@ -681,7 +681,7 @@ object tag_value {
|from online.bl_tag_hierarchy_detail |from online.bl_tag_hierarchy_detail
|where partition_date = '${partition_date}' |where partition_date = '${partition_date}'
|and id !=0 |and id !=0
|and tag_type=3 |and tag_type='3'
""".stripMargin """.stripMargin
) )
level3_id.createOrReplaceTempView("level3_id") 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