Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
bd5efd8b
Commit
bd5efd8b
authored
Dec 29, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.wanmeizhensuo.com/ML/ffm-baseline
parents
df73255f
50bfeee6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
EsmmData.scala
eda/feededa/src/main/scala/com/gmei/EsmmData.scala
+2
-3
No files found.
eda/feededa/src/main/scala/com/gmei/EsmmData.scala
View file @
bd5efd8b
...
...
@@ -670,9 +670,8 @@ object GetLevelCount {
val
level1_name
=
sc
.
sql
(
s
"""
|select a.level1_id,a.count,b.level1_name from tmp a
|left join online.bl_tag_hierarchy_detail b
|on a.level1_id = b.level1_id
|where b.partition_date = '${stat_date}'
|left join (select distinct level1_id,level1_name from online.bl_tag_hierarchy_detail where partition_date = '${stat_date}') b
|on a.level1_id = b.level1_id order by a.count desc
"""
.
stripMargin
)
level1_name
.
show
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment