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
8a9da898
Commit
8a9da898
authored
Feb 09, 2026
by
fangxingjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
fec40875
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ods_asin_detail.py
Pyspark_job/sqoop_import/ods_asin_detail.py
+2
-0
No files found.
Pyspark_job/sqoop_import/ods_asin_detail.py
View file @
8a9da898
...
...
@@ -18,6 +18,8 @@ if __name__ == '__main__':
d2
=
f
'0{d2}'
if
int
(
d2
)
<
10
else
f
'{d2}'
db_type
=
'postgresql_14'
import_table
=
f
"{site_name}_asin_detail_month_{d1}_{d2}"
if
date_type
==
'day'
:
import_table
=
f
"{site_name}_asin_detail_day_{date_info.replace('-', '_')}"
hive_table
=
"ods_asin_detail"
partition_dict
=
{
"site_name"
:
site_name
,
...
...
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