FAQ-实时任务写入ck异常: table is not a Distributed table
更新时间: 2025-06-11 18:28:48
阅读 13
实时任务写入ck异常: table is not a Distributed table
问题描述/异常栈
实时任务写入ck异常: table is not a Distributed table
解决方案
通过以下参数来控制
sink.distribute-table-write-local 分布式表场景中,是否开启分布式写入优化
sink.partition-strategy 开启分布式写入优化时,分区策略:balanced(round-robin), hash(partition key), shuffle(random)
sink.partition-key 开启分布式写入优化时,指定分区键
问题原因
用户开启了分布式表写入优化,但本身任务里指定的是一张非分布式表,所以校验不通过报错
作者:焦巍
文档反馈
以上内容对您是否有帮助?