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
ec672806
Commit
ec672806
authored
Oct 21, 2021
by
WangJinfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ods_dmp_user_info_daily_mapping
parent
c40d552d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
InstallListDailyV2.scala
src/main/scala/mobvista/dmp/common/InstallListDailyV2.scala
+1
-1
DeviceIDMappingLower.scala
...mobvista/dmp/datasource/device/DeviceIDMappingLower.scala
+1
-1
No files found.
src/main/scala/mobvista/dmp/common/InstallListDailyV2.scala
View file @
ec672806
...
...
@@ -111,7 +111,7 @@ class InstallListDailyV2 extends CommonSparkJob with Serializable {
| FROM
| (SELECT LOWER(device_id) device_id,device_type,platform,country,install_list,ext_data,update_date,business
| FROM dwh.dmp_install_list d LEFT SEMI JOIN active_dev a ON LOWER(d.device_id) = a.device_id
| WHERE dt = '@date' AND business NOT IN ('ga','other','14days','day'
,'adn_request_unmatch','dsp_req_unmatch'
)
| WHERE dt = '@date' AND business NOT IN ('ga','other','14days','day')
| UNION
| SELECT LOWER(device_id) device_id,device_type,platform,country,install_list,ext_data,update_date,business
| FROM dwh.dmp_install_list d LEFT SEMI JOIN active_dev a ON LOWER(d.device_id) = a.device_id
...
...
src/main/scala/mobvista/dmp/datasource/device/DeviceIDMappingLower.scala
View file @
ec672806
...
...
@@ -22,7 +22,7 @@ class DeviceIDMappingLower extends CommonSparkJob with Serializable {
try
{
val
sc
=
spark
.
sparkContext
val
updateDate
=
MobvistaConstant
.
sdf1
.
format
(
MobvistaConstant
.
sdf2
.
parse
(
date
))
val
lastDate
=
DateUtil
.
getDayByString
(
date
,
"yyyy
-MM-
dd"
,
-
1
)
val
lastDate
=
DateUtil
.
getDayByString
(
date
,
"yyyy
MM
dd"
,
-
1
)
val
lastUpdateDate
=
DateUtil
.
getDayByString
(
updateDate
,
"yyyy-MM-dd"
,
-
1
)
val
sql
=
...
...
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