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
f31cb21e
Commit
f31cb21e
authored
Jun 30, 2026
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "no message"
This reverts commit
a9047c6a
.
parent
e49ec4a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
dwd_day_asin.py
Pyspark_job/sqoop_export/dwd_day_asin.py
+1
-1
dwd_st_volume_fba.py
Pyspark_job/sqoop_export/dwd_st_volume_fba.py
+4
-3
No files found.
Pyspark_job/sqoop_export/dwd_day_asin.py
View file @
f31cb21e
...
@@ -2,7 +2,7 @@ import os
...
@@ -2,7 +2,7 @@ import os
import
sys
import
sys
sys
.
path
.
append
(
os
.
path
.
dirname
(
sys
.
path
[
0
]))
sys
.
path
.
append
(
os
.
path
.
dirname
(
sys
.
path
[
0
]))
from
utils.ssh_util
import
SSHUtil
from
utils.common_util
import
CommonUtil
from
utils.common_util
import
CommonUtil
from
utils.db_util
import
DBUtil
from
utils.db_util
import
DBUtil
...
...
Pyspark_job/sqoop_export/dwd_st_volume_fba.py
View file @
f31cb21e
...
@@ -116,9 +116,10 @@ if __name__ == '__main__':
...
@@ -116,9 +116,10 @@ if __name__ == '__main__':
target_tb_name
=
export_tb_before
,
target_tb_name
=
export_tb_before
,
cp_index_flag
=
True
)
cp_index_flag
=
True
)
update_workflow_sql
=
f
"""
update_workflow_sql
=
f
"""
replace INTO selection.workflow_everyday (site_name, report_date, status, status_val, table_name, date_type, page, is_end, remark, export_db_type)
replace INTO selection.workflow_everyday
VALUES('{site_name}', '{datetime.now().date()}', '导出PG数据库完成', 14, 'us_aba_last_30_day', '30_day', 'ABA搜索词', '是', 'ABA搜索词最近30天表', '{db_type}');
(site_name, report_date, status, status_val, table_name, date_type, page, is_end, remark,export_db_type)
"""
VALUES('{site_name}', '{datetime.now().date()}', '导出PG数据库完成', 14, 'us_aba_last_30_day', '30_day', 'ABA搜索词', '是', 'ABA搜索词最近30天表','{db_type}');
"""
else
:
else
:
update_workflow_sql
=
f
"""
update_workflow_sql
=
f
"""
UPDATE selection.workflow_everyday SET status='导出PG数据库完成', status_val=14,is_end ='是',export_db_type = '{db_type}'
UPDATE selection.workflow_everyday SET status='导出PG数据库完成', status_val=14,is_end ='是',export_db_type = '{db_type}'
...
...
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