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
5727192e
Commit
5727192e
authored
Jul 23, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'yindanlei' into 'master'
add doubtful_channel report codes See merge request
!23
parents
ca5c1f03
4d7c262a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doubtful_channel.sql
pm/doubtful_channel/etl/doubtful_channel.sql
+3
-3
No files found.
pm/doubtful_channel/etl/doubtful_channel.sql
View file @
5727192e
...
...
@@ -21,7 +21,7 @@ FROM
,
device_id
,
first_channel_source_type
,
first_city
,
case
WHEN
active_type
=
'4'
THEN
'老活'
WHEN
active_type
in
(
'1'
,
'2'
)
then
'新增'
END
as
active_type
FROM
ml_device_day_active_status
FROM
online
.
ml_device_day_active_status
where
partition_date
>=
'20200101'
AND
partition_date
<
regexp_replace
(
current_date
,
'-'
,
''
)
AND
active_type
in
(
'1'
,
'2'
,
'4'
)
...
...
@@ -37,7 +37,7 @@ FROM
LEFT
JOIN
(
SELECT
partition_date
,
cl_id
from
bl_hdfs_maidian_updates
from
online
.
bl_hdfs_maidian_updates
where
partition_date
>=
'20200101'
AND
partition_date
<
regexp_replace
(
current_date
,
'-'
,
''
)
AND
action
=
'popup_view'
...
...
@@ -50,7 +50,7 @@ LEFT JOIN
LEFT
JOIN
(
SELECT
partition_date
,
cl_id
from
bl_hdfs_maidian_updates
from
online
.
bl_hdfs_maidian_updates
where
partition_date
>=
'20200101'
AND
partition_date
<
regexp_replace
(
current_date
,
'-'
,
''
)
AND
action
=
'page_view'
...
...
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