Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
search-model-data
Overview
Overview
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
田川
search-model-data
Commits
d10edc25
Commit
d10edc25
authored
Nov 19, 2021
by
xupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正 user_product_buy_is_match 、user_product_buy_price_level
parent
44c4d4e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
user_product_feature.sh
src/main/scripts/cross_feature/user_product/user_product_feature.sh
+2
-2
No files found.
src/main/scripts/cross_feature/user_product/user_product_feature.sh
View file @
d10edc25
...
...
@@ -46,14 +46,14 @@ select
T4.buy_sku_cat2_price_level as user_product_buy_price_level
from
${
table_name
}
T1
left join secoo_fact.fact_search_product_wide_p_day T2 on T2.p_day = '
${
today_param
}
' and T1.product_id = T2.product_id
left join secoo_fact.fact_search_product_55_30d_click_product_p_day T3 on T3.p_day =
${
yesterday
}
and T2.main_id = T3.product_main_id
left join secoo_fact.fact_search_product_55_30d_click_product_p_day T3 on T3.p_day =
'
${
yesterday
}
'
and T2.main_id = T3.product_main_id
left join (
select
uuid,
category_id_2,
max(buy_sku_cat2_price_level) as buy_sku_cat2_price_level
from secoo_app.app_search_uuid_sku_price_level
where p_day =
${
yesterday
}
where p_day =
'
${
yesterday
}
'
group by uuid, category_id_2
) T4 on T1.device_id = T4.uuid and T3.category_id_2 = T4.category_id_2
...
...
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