Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Amazon-Selection-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
abel_cjy
Amazon-Selection-Data
Commits
e5539dce
Commit
e5539dce
authored
Jul 23, 2026
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信息库、周期性、季节性增加用户自定义修改功能
parent
b3463392
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
30 deletions
+30
-30
dwt_flow_asin_month.py
Pyspark_job/doris_handle/dwt_flow_asin_month.py
+30
-30
No files found.
Pyspark_job/doris_handle/dwt_flow_asin_month.py
View file @
e5539dce
...
@@ -975,20 +975,20 @@ SELECT
...
@@ -975,20 +975,20 @@ SELECT
f.title_matching_degree,
f.title_matching_degree,
bb.brand_badge_reason,
bb.brand_badge_reason,
ARRAY_JOIN(ARRAY_SLICE(SPLIT_BY_STRING(stem_en(f.title), ' '), 1, 15), ' ') AS title_stem_15,
ARRAY_JOIN(ARRAY_SLICE(SPLIT_BY_STRING(stem_en(f.title), ' '), 1, 15), ' ') AS title_stem_15,
ai.
ai_package_quantity,
COALESCE(uma.ai_package_quantity, ai.ai_package_quantity) AS
ai_package_quantity,
ai.
ai_package_quantity_arr,
COALESCE(uma.ai_package_quantity_arr, ai.ai_package_quantity_arr) AS
ai_package_quantity_arr,
ai.
ai_material,
COALESCE(uma.ai_material, ai.ai_material) AS
ai_material,
ai.
ai_color,
COALESCE(uma.ai_color, ai.ai_color) AS
ai_color,
ai.
ai_appearance,
COALESCE(uma.ai_appearance, ai.ai_appearance) AS
ai_appearance,
ai.
ai_size,
COALESCE(uma.ai_size, ai.ai_size) AS
ai_size,
ai.
ai_shape,
COALESCE(uma.ai_shape, ai.ai_shape) AS
ai_shape,
ai.
ai_function,
COALESCE(uma.ai_function, ai.ai_function) AS
ai_function,
ai.
ai_scene_title,
COALESCE(uma.ai_scene_title, ai.ai_scene_title) AS
ai_scene_title,
ai.
ai_scene_comment,
COALESCE(uma.ai_scene_comment, ai.ai_scene_comment) AS
ai_scene_comment,
ai.
ai_uses,
COALESCE(uma.ai_uses, ai.ai_uses) AS
ai_uses,
ai.
ai_theme,
COALESCE(uma.ai_theme, ai.ai_theme) AS
ai_theme,
ai.
ai_crowd,
COALESCE(uma.ai_crowd, ai.ai_crowd) AS
ai_crowd,
ai.
ai_short_desc,
COALESCE(uma.ai_short_desc, ai.ai_short_desc) AS
ai_short_desc,
addr.seller_province,
addr.seller_province,
addr.seller_city
addr.seller_city
FROM `dwt`.`{site_name}_flow_asin_month` f
FROM `dwt`.`{site_name}_flow_asin_month` f
...
@@ -1398,20 +1398,20 @@ SELECT
...
@@ -1398,20 +1398,20 @@ SELECT
f.title_matching_degree,
f.title_matching_degree,
bb.brand_badge_reason,
bb.brand_badge_reason,
ARRAY_JOIN(ARRAY_SLICE(SPLIT_BY_STRING(stem_en(f.title), ' '), 1, 15), ' ') AS title_stem_15,
ARRAY_JOIN(ARRAY_SLICE(SPLIT_BY_STRING(stem_en(f.title), ' '), 1, 15), ' ') AS title_stem_15,
ai.
ai_package_quantity,
COALESCE(uma.ai_package_quantity, ai.ai_package_quantity) AS
ai_package_quantity,
ai.
ai_package_quantity_arr,
COALESCE(uma.ai_package_quantity_arr, ai.ai_package_quantity_arr) AS
ai_package_quantity_arr,
ai.
ai_material,
COALESCE(uma.ai_material, ai.ai_material) AS
ai_material,
ai.
ai_color,
COALESCE(uma.ai_color, ai.ai_color) AS
ai_color,
ai.
ai_appearance,
COALESCE(uma.ai_appearance, ai.ai_appearance) AS
ai_appearance,
ai.
ai_size,
COALESCE(uma.ai_size, ai.ai_size) AS
ai_size,
ai.
ai_shape,
COALESCE(uma.ai_shape, ai.ai_shape) AS
ai_shape,
ai.
ai_function,
COALESCE(uma.ai_function, ai.ai_function) AS
ai_function,
ai.
ai_scene_title,
COALESCE(uma.ai_scene_title, ai.ai_scene_title) AS
ai_scene_title,
ai.
ai_scene_comment,
COALESCE(uma.ai_scene_comment, ai.ai_scene_comment) AS
ai_scene_comment,
ai.
ai_uses,
COALESCE(uma.ai_uses, ai.ai_uses) AS
ai_uses,
ai.
ai_theme,
COALESCE(uma.ai_theme, ai.ai_theme) AS
ai_theme,
ai.
ai_crowd,
COALESCE(uma.ai_crowd, ai.ai_crowd) AS
ai_crowd,
ai.
ai_short_desc,
COALESCE(uma.ai_short_desc, ai.ai_short_desc) AS
ai_short_desc,
addr.seller_province,
addr.seller_province,
addr.seller_city,
addr.seller_city,
-- ===== 年度聚合(dwt/dwt_flow_asin_year.py 在 Hive 预计算,经 sync_extra_table 同步到 Doris)=====
-- ===== 年度聚合(dwt/dwt_flow_asin_year.py 在 Hive 预计算,经 sync_extra_table 同步到 Doris)=====
...
@@ -1426,8 +1426,8 @@ SELECT
...
@@ -1426,8 +1426,8 @@ SELECT
COALESCE(agg.nsr_seen_count_total, 0) AS nsr_seen_count_total,
COALESCE(agg.nsr_seen_count_total, 0) AS nsr_seen_count_total,
agg.bought_month_peak,
agg.bought_month_peak,
agg.peak_month_arr,
agg.peak_month_arr,
COALESCE(agg.is_periodic_flag, 0) AS is_periodic_flag,
COALESCE(
uma.is_periodic_flag,
agg.is_periodic_flag, 0) AS is_periodic_flag,
COALESCE(agg.is_seasonal_flag, 0) AS is_seasonal_flag
COALESCE(
uma.is_seasonal_flag,
agg.is_seasonal_flag, 0) AS is_seasonal_flag
FROM `dwt`.`{site_name}_flow_asin_365day` f
FROM `dwt`.`{site_name}_flow_asin_365day` f
LEFT JOIN `dwt`.`{site_name}_flow_asin_365day_extra` agg ON f.asin = agg.asin
LEFT JOIN `dwt`.`{site_name}_flow_asin_365day_extra` agg ON f.asin = agg.asin
-- ===== 利润率 =====
-- ===== 利润率 =====
...
...
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