在 Mosaic Decisions 中管理自动递增列值

Manage auto increment column values in Mosaic Decisions

我有一个 table,其中为键列定义了自动增量序列。

问题陈述-

Source_table 有列 IDvalues 101, 102, 103依此类推,Destination_table 有列 IDvalues 1201,1202,1203..并且是增量形式。

Source_table

Destination_table

现在,在 Mosaic 中,我可以从 Source_table 中读取数据,但是在写入 目标 tableDestination_table.IDSource_table.ID 值覆盖.

有什么方法可以保留 Destination_tableMosaic[ 中的序列?

是的,您可以使用 编写器节点 中提供的 Skip InsertSkip Update 功能来 Upsert write mode,其中它将跳过来自 input 的序列并保留 destination 列中的序列。

要实现这个,在Writer Node Configuration菜单中,select将Write Mode作为Upsert拖入您希望为 Skip InsertSkip Update 保留 序列 的列,如下所示: