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
d6f0567c
Commit
d6f0567c
authored
Nov 10, 2025
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ai_asin_detail_month_date_info新增导出字段launch_time_type
parent
544fead9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
export_asin_detail_base.py
Pyspark_job/script/export_asin_detail_base.py
+4
-2
No files found.
Pyspark_job/script/export_asin_detail_base.py
View file @
d6f0567c
...
...
@@ -52,7 +52,8 @@ class ExportAsinDetailBase(object):
first_category_rank,
asin_price,
asin_rating,
asin_total_comments
asin_total_comments,
asin_launch_time_type
from dwt_flow_asin
where site_name = '{self.site_name}'
and date_type = '{self.date_type}'
...
...
@@ -980,7 +981,8 @@ class ExportAsinDetailBase(object):
F
.
col
(
"asin_img_num"
)
.
alias
(
"img_num"
),
"variation_flag"
,
"variation_num"
,
F
.
col
(
"asin_ao_val"
)
.
alias
(
"ao_val"
),
F
.
col
(
"category_first_id"
)
.
alias
(
"category_id"
),
F
.
col
(
"category_id"
)
.
alias
(
"category_current_id"
),
"parent_asin"
,
F
.
col
(
"first_category_rank"
)
.
alias
(
"bsr_rank"
),
F
.
col
(
"asin_price"
)
.
alias
(
"price"
),
F
.
col
(
"asin_rating"
)
.
alias
(
"rating"
),
F
.
col
(
"asin_total_comments"
)
.
alias
(
"total_comments"
),
"seller_id"
,
"fb_country_name"
,
"review_json_list"
F
.
col
(
"asin_total_comments"
)
.
alias
(
"total_comments"
),
"seller_id"
,
"fb_country_name"
,
"review_json_list"
,
F
.
col
(
"asin_launch_time_type"
)
.
alias
(
"launch_time_type"
)
)
.
repartition
(
40
,
'asin'
)
def
save_data
(
self
):
...
...
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