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
00526099
Commit
00526099
authored
Aug 04, 2025
by
wujicang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update self_asin_redis.py
parent
c2ddc27d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
self_asin_redis.py
Pyspark_job/export_other/self_asin_redis.py
+2
-1
No files found.
Pyspark_job/export_other/self_asin_redis.py
View file @
00526099
...
...
@@ -167,6 +167,7 @@ def export():
buy_sales,
img_num,
date_format(updated_at, '
%
Y-
%
m-
%
d
%
H:
%
m:
%
S') updated_at,
date_format(online_time, '
%
Y-
%
m-
%
d
%
H:
%
m:
%
S') online_time,
coalesce(if(returns = 'Customers usually keep this item', 1, 0), 0) as is_high_return_rate
from {site_name}_self_asin_detail
where updated_at >= '{last_day}'
...
...
@@ -225,7 +226,7 @@ def na_fill(asin_df):
"other_seller_name"
:
""
,
"buy_sales"
:
""
,
"img_num"
:
0
,
"online_time"
:
''
,
"online_time"
:
""
,
"is_high_return_rate"
:
0
})
pass
...
...
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