Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
90695d7b
Commit
90695d7b
authored
Aug 31, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push codes
parent
f56cb597
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
daily_push.sql
pm/daily_push/etl/daily_push.sql
+1
-1
daily_recommend_strategy.sql
pm/daily_recommend_strategy/etl/daily_recommend_strategy.sql
+2
-2
No files found.
pm/daily_push/etl/daily_push.sql
View file @
90695d7b
...
...
@@ -567,7 +567,7 @@ group by t1.partition_day
--push质量数据
INSERT
OVERWRITE
TABLE
pm
.
tl_pm_push_quality_d
PARTITION
(
PARTITION_DAY
=
${
partition_day
}
)
SELECT
partition_date
as
day_id
,
device_os_type
,
round
(
nvl
((
op_only_wel_pv
/
op_only_wel_uv
)
/
(
wel_pv
/
wel_uv
),
0
),
2
)
as
op_only_wel
...
...
pm/daily_recommend_strategy/etl/daily_recommend_strategy.sql
View file @
90695d7b
...
...
@@ -756,8 +756,8 @@ LEFT JOIN
FROM
online
.
ml_user_updates
WHERE
partition_date
=
regexp_replace
(
DATE_SUB
(
current_date
,
1
)
,
'-'
,
''
)
)
t1
JOIN
(
--医生账号
JOIN
(
--医生账号
SELECT
distinct
user_id
FROM
online
.
tl_hdfs_doctor_view
WHERE
partition_date
=
regexp_replace
(
DATE_SUB
(
current_date
,
1
)
,
'-'
,
''
)
...
...
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