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
28beb1e2
Commit
28beb1e2
authored
Feb 18, 2021
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复埋点变化
parent
285e11fa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
daily_search_word_count.py
task/daily_search_word_count.py
+1
-1
daily_search_word_count_fix.py
task/daily_search_word_count_fix.py
+1
-1
daily_search_word_count_last_two_year.py
task/daily_search_word_count_last_two_year.py
+1
-1
search_strategy_d.py
task/search_strategy_d.py
+1
-1
No files found.
task/daily_search_word_count.py
View file @
28beb1e2
...
@@ -123,7 +123,7 @@ for t in range(0, task_days):
...
@@ -123,7 +123,7 @@ for t in range(0, task_days):
'search_home' as page_name,
'search_home' as page_name,
'' as input_type,
'' as input_type,
app_version,
app_version,
params['query']
as query
coalesce(params['query'],params['card_name'])
as query
FROM online.bl_hdfs_maidian_updates
FROM online.bl_hdfs_maidian_updates
WHERE partition_date >= '{start_date}'
WHERE partition_date >= '{start_date}'
AND partition_date < '{end_date}'
AND partition_date < '{end_date}'
...
...
task/daily_search_word_count_fix.py
View file @
28beb1e2
...
@@ -130,7 +130,7 @@ for t in range(0, task_days):
...
@@ -130,7 +130,7 @@ for t in range(0, task_days):
'search_home' as page_name,
'search_home' as page_name,
'' as input_type,
'' as input_type,
app_version,
app_version,
params['query']
as query
coalesce(params['query'],params['card_name'])
as query
FROM online.bl_hdfs_maidian_updates
FROM online.bl_hdfs_maidian_updates
WHERE partition_date >= '{start_date}'
WHERE partition_date >= '{start_date}'
AND partition_date < '{end_date}'
AND partition_date < '{end_date}'
...
...
task/daily_search_word_count_last_two_year.py
View file @
28beb1e2
...
@@ -220,7 +220,7 @@ for t in range(1, task_days):
...
@@ -220,7 +220,7 @@ for t in range(1, task_days):
'search_home' as page_name,
'search_home' as page_name,
'' as input_type,
'' as input_type,
app_version,
app_version,
params['query']
as query
coalesce(params['query'],params['card_name'])
as query
FROM online.bl_hdfs_maidian_updates
FROM online.bl_hdfs_maidian_updates
WHERE partition_date >= '{start_date}'
WHERE partition_date >= '{start_date}'
AND partition_date < '{end_date}'
AND partition_date < '{end_date}'
...
...
task/search_strategy_d.py
View file @
28beb1e2
...
@@ -186,7 +186,7 @@ for t in range(0, task_days):
...
@@ -186,7 +186,7 @@ for t in range(0, task_days):
AND action in ('do_search','search_result_click_search')
AND action in ('do_search','search_result_click_search')
UNION ALL
UNION ALL
SELECT partition_date,
params['query']
as query,cl_id
SELECT partition_date,
coalesce(params['query'],params['card_name'])
as query,cl_id
FROM online.bl_hdfs_maidian_updates
FROM online.bl_hdfs_maidian_updates
WHERE partition_date >= {yesterday_str}
WHERE partition_date >= {yesterday_str}
AND partition_date < {today_str}
AND partition_date < {today_str}
...
...
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