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
d3a03b84
Commit
d3a03b84
authored
Apr 24, 2026
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
83cc4eba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
es_update_with_info.py
Pyspark_job/es_handle/es_update_with_info.py
+3
-6
No files found.
Pyspark_job/es_handle/es_update_with_info.py
View file @
d3a03b84
...
...
@@ -18,12 +18,9 @@ __metastore_uris__ = "thrift://hadoop16:9083"
def
get_es_index_name
():
client
=
EsUtils
.
get_es_client
()
index_name_list
=
EsUtils
.
get_index_names_associated_alias
(
"us_st_detail_last_4_week"
,
client
)
if
index_name_list
:
index_name
=
str
(
index_name_list
[
0
])
print
(
"elasticsearch上待更新的索引名称为:"
,
index_name
)
return
index_name
index_name
=
"us_flow_asin_30day"
print
(
"elasticsearch上待更新的索引名称为:"
,
index_name
)
return
index_name
def
update_es_fileds
(
df_update
,
index_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