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
56bc651a
Commit
56bc651a
authored
Nov 19, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repair bug
parent
eb5b656c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app_list.scala
eda/feededa/src/main/scala/com/gmei/app_list.scala
+3
-2
No files found.
eda/feededa/src/main/scala/com/gmei/app_list.scala
View file @
56bc651a
...
...
@@ -57,8 +57,9 @@ object app_list {
import
sc.implicits._
val
stat_date
=
GmeiConfig
.
getMinusNDate
(
1
)
//
println(param.date)
println
(
param
.
date
)
val
partition_date
=
param
.
date
.
replace
(
"-"
,
""
)
println
(
partition_date
)
//获取策略命中用户device_id
val
app_list
=
sc
.
sql
(
...
...
@@ -66,7 +67,7 @@ object app_list {
|select distinct(cl_id) as device_id,params['installed_app_info'] as app_list
|from online.tl_hdfs_maidian_view
|where action="user_installed_all_app_info"
|and partition_date = '${par
am.
date}'
|and partition_date = '${par
tition_
date}'
"""
.
stripMargin
)
//app_list.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