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
89117de6
Commit
89117de6
authored
Aug 28, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push codes
parent
fbf4f5e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
daily_recommend_strategy.sql
pm/daily_recommend_strategy/etl/daily_recommend_strategy.sql
+4
-4
No files found.
pm/daily_recommend_strategy/etl/daily_recommend_strategy.sql
View file @
89117de6
...
...
@@ -71,7 +71,7 @@ FROM
when
transaction_type
in
(
'hotspot_feed'
)
then
array
(
'hotspot_feed'
,
'合计'
)
when
transaction_type
in
(
'aistragegy'
)
then
array
(
'新用户AI帖优先'
)
when
transaction_type
in
(
'excestragegy'
)
then
array
(
'新用户精华帖优先'
)
when
transaction_type
in
(
'fixedstragegy'
)
then
array
(
'
新氧新用户策略一'
)
when
transaction_type
in
(
'fixedstragegy'
)
then
array
(
'新氧新用户策略一'
)
when
transaction_type
in
(
'fixedstragegy_video'
)
then
array
(
'新氧新用户策略二'
)
end
AS
recommend_type
,
card_id
,
...
...
@@ -98,7 +98,7 @@ FROM
when
transaction_type
in
(
'hotspot_feed'
)
then
array
(
'hotspot_feed'
,
'合计'
)
when
transaction_type
in
(
'aistragegy'
)
then
array
(
'新用户AI帖优先'
)
when
transaction_type
in
(
'excestragegy'
)
then
array
(
'新用户精华帖优先'
)
when
transaction_type
in
(
'fixedstragegy'
)
then
array
(
'
新氧新用户策略一'
)
when
transaction_type
in
(
'fixedstragegy'
)
then
array
(
'新氧新用户策略一'
)
when
transaction_type
in
(
'fixedstragegy_video'
)
then
array
(
'新氧新用户策略二'
)
end
,
card_id
,
app_session_id
...
...
@@ -130,7 +130,7 @@ FROM
when
params
[
'transaction_type'
]
in
(
'hotspot_feed'
)
then
array
(
'hotspot_feed'
,
'合计'
)
when
params
[
'transaction_type'
]
in
(
'aistragegy'
)
then
array
(
'新用户AI帖优先'
)
when
params
[
'transaction_type'
]
in
(
'excestragegy'
)
then
array
(
'新用户精华帖优先'
)
when
params
[
'transaction_type'
]
in
(
'fixedstragegy'
)
then
array
(
'
新氧新用户策略一'
)
when
params
[
'transaction_type'
]
in
(
'fixedstragegy'
)
then
array
(
'新氧新用户策略一'
)
when
params
[
'transaction_type'
]
in
(
'fixedstragegy_video'
)
then
array
(
'新氧新用户策略二'
)
end
AS
recommend_type
,
params
[
'card_id'
]
as
card_id
,
...
...
@@ -156,7 +156,7 @@ FROM
when
params
[
'transaction_type'
]
in
(
'hotspot_feed'
)
then
array
(
'hotspot_feed'
,
'合计'
)
when
params
[
'transaction_type'
]
in
(
'aistragegy'
)
then
array
(
'新用户AI帖优先'
)
when
params
[
'transaction_type'
]
in
(
'excestragegy'
)
then
array
(
'新用户精华帖优先'
)
when
params
[
'transaction_type'
]
in
(
'fixedstragegy'
)
then
array
(
'
新氧新用户策略一'
)
when
params
[
'transaction_type'
]
in
(
'fixedstragegy'
)
then
array
(
'新氧新用户策略一'
)
when
params
[
'transaction_type'
]
in
(
'fixedstragegy_video'
)
then
array
(
'新氧新用户策略二'
)
end
,
params
[
'card_id'
],
app_session_id
...
...
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