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
f7b0a010
Commit
f7b0a010
authored
Sep 27, 2021
by
WangJinfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix export_reyun_daily
parent
71bbe67c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
user_info.sh
azkaban/output/reyun/user_info.sh
+1
-1
Constant.scala
src/main/scala/mobvista/dmp/output/reyun/Constant.scala
+2
-2
No files found.
azkaban/output/reyun/user_info.sh
View file @
f7b0a010
...
...
@@ -9,7 +9,7 @@ source ../../dmp_env.sh
dt
=
$(
date
+
"%Y%m%d"
-d
"-1 day
$ScheduleTime
"
)
date_path
=
$(
date
+
"%Y/%m/%d"
-d
"-1 day
$ScheduleTime
"
)
check_await
${
ODS_DMP_USER_INFO_
ALL
}
_v2
/
${
dt
}
/_SUCCESS
check_await
${
ODS_DMP_USER_INFO_
DAILY
}
/
${
dt
}
/_SUCCESS
OUTPUT_PATH
=
"
${
OUTPUT_REYUN_USER_INFO_PATH
}
/
${
date_path
}
"
...
...
src/main/scala/mobvista/dmp/output/reyun/Constant.scala
View file @
f7b0a010
...
...
@@ -14,7 +14,7 @@ object Constant {
| mac, dev_id, idfa, ext_packagename, ext_finalpackagename, ext_channel, ext_oaid, ext_advinstalltime, ext_eventtime,
| ext_campaignpackagename
| FROM dwh.ods_adn_trackingnew_impression
| WHERE CONCAT(yyyy,mm,dd) = '@date' AND
re = 'beijing' AND
UPPER(country_code) = 'CN'
| WHERE CONCAT(yyyy,mm,dd) = '@date' AND UPPER(country_code) = 'CN'
|"""
.
stripMargin
val
tracking_install
=
...
...
@@ -37,7 +37,7 @@ object Constant {
val
user_info
=
"""
|SELECT dev_id, dev_id_md5, LOWER(dev_type) dev_type, LOWER(platform) platform, UPPER(country) country, install, interest, update_date
| FROM dwh.ods_dmp_user_info_
all_v2
| FROM dwh.ods_dmp_user_info_
daily
| WHERE dt = '@date' AND UPPER(country) = 'CN'
|"""
.
stripMargin
}
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