Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mobvista-dmp
Project
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王金锋
mobvista-dmp
Commits
e90fd86f
Commit
e90fd86f
authored
Dec 21, 2021
by
WangJinfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init id_mapping
parent
69359cfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
IDMappingGraphx.scala
.../mobvista/dmp/datasource/id_mapping/IDMappingGraphx.scala
+1
-2
No files found.
src/main/scala/mobvista/dmp/datasource/id_mapping/IDMappingGraphx.scala
View file @
e90fd86f
...
...
@@ -207,7 +207,6 @@ class IDMappingGraphx extends CommonSparkJob with Serializable {
.
orc
(
resultOutPutPath
)
}
def
processData
(
row
:
Row
,
platform
:
String
)
:
Row
=
{
platform
match
{
case
"ios"
=>
...
...
@@ -316,7 +315,7 @@ class IDMappingGraphx extends CommonSparkJob with Serializable {
val
jsonObject
=
new
JSONObject
()
val
oneIDType
=
ids
(
i
)
jsonObject
.
put
(
"id_type"
,
oneIDType
)
jsonObject
.
put
(
"active_
typ
e"
,
date
)
jsonObject
.
put
(
"active_
dat
e"
,
date
)
jsonObject
.
put
(
"cnt"
,
cnt
)
val
oneID
=
row
.
getAs
[
String
](
String
.
valueOf
(
ids
(
i
)))
array
+=
((
oneID
,
(
oneID
,
jsonObject
.
toJSONString
,
oneIDType
)))
...
...
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