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
59ad9e59
Commit
59ad9e59
authored
Oct 28, 2026
by
fangxingjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9c30eac2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ods_st_key.py
Pyspark_job/sqoop_export/ods_st_key.py
+4
-4
ods_keepa_finder_asin.py
Pyspark_job/sqoop_import/ods_keepa_finder_asin.py
+1
-1
No files found.
Pyspark_job/sqoop_export/ods_st_key.py
View file @
59ad9e59
...
...
@@ -10,10 +10,10 @@ from utils.db_util import DBUtil
if
__name__
==
'__main__'
:
site_name
=
CommonUtil
.
get_sys_arg
(
1
,
None
)
CommonUtil
.
judge_is_work_hours
(
site_name
=
site_name
,
principal
=
'chenyuanjie'
,
priority
=
1
,
export_tools_type
=
1
,
belonging_to_process
=
'更新搜索词key'
)
#
CommonUtil.judge_is_work_hours(
#
site_name=site_name,
#
principal='chenyuanjie', priority=1, export_tools_type=1, belonging_to_process='更新搜索词key'
#
)
db_type
=
'postgresql_cluster'
engine
=
DBUtil
.
get_db_engine
(
db_type
,
site_name
)
...
...
Pyspark_job/sqoop_import/ods_keepa_finder_asin.py
View file @
59ad9e59
...
...
@@ -34,7 +34,7 @@ partition_dict = {
if
date_type
==
'week'
:
# db_type = 'doris'
sql_query
=
f
"select null as id, null as request_id, asin, update_time as tracking_since from keepa_finder_asin where 1=1 "
\
sql_query
=
f
"select null as id, null as request_id, asin, update_time as tracking_since from keepa_finder_asin where 1=1
and date_info='{date_info}'
"
\
f
"and
\
$CONDITIONS"
engine
.
sqoop_raw_import
(
query
=
sql_query
,
...
...
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