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
24ba3ada
Commit
24ba3ada
authored
Sep 08, 2021
by
WangJinfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix RTDmpMainPre
parent
677c9f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
RTDmpMainPre.scala
...in/scala/mobvista/dmp/datasource/rtdmp/RTDmpMainPre.scala
+4
-1
No files found.
src/main/scala/mobvista/dmp/datasource/rtdmp/RTDmpMainPre.scala
View file @
24ba3ada
...
...
@@ -84,7 +84,10 @@ class RTDmpMainPre extends CommonSparkJob with Serializable {
val
jsonObject
=
json
.
asInstanceOf
[
JSONObject
]
if
(
jsonObject
.
containsKey
(
"s3_path"
)
&&
StringUtils
.
isNotBlank
(
jsonObject
.
getString
(
"s3_path"
)))
{
// (s3_path, update_date)
dmap
.
put
(
jsonObject
.
getString
(
"s3_path"
),
jsonObject
.
getString
(
"update_time"
))
val
s3_path
=
jsonObject
.
getString
(
"s3_path"
)
if
(
s3_path
.
startsWith
(
"s3://"
)
||
s3_path
.
startsWith
(
"s3a://"
)){
dmap
.
put
(
s3_path
,
jsonObject
.
getString
(
"update_time"
))
}
}
})
...
...
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