Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta_base_code
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
宋柯
meta_base_code
Commits
0c008814
Commit
0c008814
authored
Sep 09, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d48639dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
search_answer_ctr.py
task/search_answer_ctr.py
+1
-1
search_diary_ctr.py
task/search_diary_ctr.py
+1
-1
search_tractate_ctr.py
task/search_tractate_ctr.py
+2
-2
No files found.
task/search_answer_ctr.py
View file @
0c008814
...
...
@@ -112,7 +112,7 @@ left join
FROM ML.ML_C_CT_DV_DEVICE_DIMEN_D T
WHERE T.PARTITION_DAY = '{partition_day}'
AND T.ACTIVE_TYPE IN ('1', '2', '4'))
D on
T
.DEVICE_ID = D.DEVICE_ID
D on
C
.DEVICE_ID = D.DEVICE_ID
LEFT JOIN
(
SELECT DISTINCT device_id
...
...
task/search_diary_ctr.py
View file @
0c008814
...
...
@@ -112,7 +112,7 @@ left join
FROM ML.ML_C_CT_DV_DEVICE_DIMEN_D T
WHERE T.PARTITION_DAY = '{partition_day}'
AND T.ACTIVE_TYPE IN ('1', '2', '4'))
D on
T
.DEVICE_ID = D.DEVICE_ID
D on
C
.DEVICE_ID = D.DEVICE_ID
LEFT JOIN
(
SELECT DISTINCT device_id
...
...
task/search_tractate_ctr.py
View file @
0c008814
...
...
@@ -111,7 +111,7 @@ left join
FROM ML.ML_C_CT_DV_DEVICE_DIMEN_D T
WHERE T.PARTITION_DAY = '{partition_day}'
AND T.ACTIVE_TYPE IN ('1', '2', '4'))
D on
T
.DEVICE_ID = D.DEVICE_ID
D on
C
.DEVICE_ID = D.DEVICE_ID
LEFT JOIN
(
SELECT DISTINCT device_id
...
...
@@ -122,7 +122,7 @@ left join
SELECT DISTINCT device_id
FROM dim.dim_device_user_staff --去除内网用户
)spam_pv
on
spam_pv.device_id=T.DEVICE_ID
on
T.DEVICE_ID=spam_pv.device_id
LEFT JOIN
(
SELECT partition_date,device_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