[求助]多个 streamload 是否支持变成同一个事务。 #38416
Replies: 1 comment
-
找到解决办法了吗 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
场景如下
使用 streamload 对表 A 和表 B 导入数据,目前是使用 2 次streamload 分别导入。但是希望这 2 次导入要么同时成功要么同时失败。
查阅文档:导入事务与原子性 文档中说 用户需要将多个 Stream Load 导入组合成一个事务,可以使用 Stream Load 的两阶段事务提交模式。但是找不到对应多表插入的例子。
我查看了flink-doris-connector 的源码,他的流式写入看起来也是按表进行单独的事务提交,没有看到多表事务。
Beta Was this translation helpful? Give feedback.
All reactions