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
4f3cf1f3
Commit
4f3cf1f3
authored
Jun 15, 2026
by
hejiangming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ea191376
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dws_aba_word_heat.py
Pyspark_job/sqoop_export/dws_aba_word_heat.py
+2
-2
No files found.
Pyspark_job/sqoop_export/dws_aba_word_heat.py
View file @
4f3cf1f3
...
@@ -47,8 +47,8 @@ if __name__ == '__main__':
...
@@ -47,8 +47,8 @@ if __name__ == '__main__':
# 2) 表名拼装
# 2) 表名拼装
# master 表(DBA 建好的,PARTITION BY RANGE):us_aba_word_heat_2026
# master 表(DBA 建好的,PARTITION BY RANGE):us_aba_word_heat_2026
# 子分区表:us_aba_word_heat_
month_
2026_05
# 子分区表:us_aba_word_heat_2026_05
# copy 表:us_aba_word_heat_
month_
2026_05_copy
# copy 表:us_aba_word_heat_2026_05_copy
suffix
=
str
(
date_info
)
.
replace
(
"-"
,
"_"
)
suffix
=
str
(
date_info
)
.
replace
(
"-"
,
"_"
)
year_str
=
CommonUtil
.
safeIndex
(
date_info
.
split
(
"-"
),
0
,
None
)
year_str
=
CommonUtil
.
safeIndex
(
date_info
.
split
(
"-"
),
0
,
None
)
next_val
=
CommonUtil
.
get_next_val
(
date_type
,
date_info
)
next_val
=
CommonUtil
.
get_next_val
(
date_type
,
date_info
)
...
...
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