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
f9242597
Commit
f9242597
authored
Nov 05, 2026
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广告Doris-stream load写入优化
parent
789a5fc7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
self_asin_redis.py
Pyspark_job/export_other/self_asin_redis.py
+4
-1
DorisHelper.py
Pyspark_job/utils/DorisHelper.py
+3
-1
No files found.
Pyspark_job/export_other/self_asin_redis.py
View file @
f9242597
...
...
@@ -114,7 +114,10 @@ def save_to_doris(df_all: DataFrame):
"doris.write.fields"
:
write_fields
,
# 部分列更新
"doris.sink.properties.partial_columns"
:
"true"
,
"doris.sink.properties.format"
:
"json"
"doris.sink.properties.format"
:
"json"
,
# 数据直接写 BE,不经 FE 重定向
"doris.benodes"
:
connection_info
[
'be_nodes'
],
"doris.sink.auto-redirect"
:
"false"
}
df_all
.
write
.
format
(
"doris"
)
\
.
options
(
**
options
)
\
...
...
Pyspark_job/utils/DorisHelper.py
View file @
f9242597
...
...
@@ -12,7 +12,9 @@ class DorisHelper(object):
"jdbc_port"
:
9030
,
"user"
:
"selection"
,
"pwd"
:
"K8@wZp#3nX"
,
"def_db"
:
"advertising_manager"
"def_db"
:
"advertising_manager"
,
# BE 直连地址,stream load 绕开 FE 前置代理
"be_nodes"
:
"101.33.236.9:8040"
},
"selection"
:
{
"ip"
:
"192.168.10.151"
,
...
...
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