Commit 55b7ba14 authored by 高雅喆's avatar 高雅喆

add sortbykey

parent fdbf50b1
......@@ -670,8 +670,9 @@ object GetLevelCount {
val level1_name = sc.sql(
s"""
|select a.level1_id,a.count,b.level1_name from tmp a
|left join tmp b
|left join online.bl_tag_hierarchy_detail b
|on a.level1_id = b.level1_id
|where b.partition_date = '${stat_date}'
""".stripMargin
)
level1_name.show()
......
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