根据第一个更新的时间戳附加更新的时间戳PENTAHO

时间:2018-12-19 16:48:07

标签: pentaho pdi

需要对pentaho Change数据捕获概念有所帮助。

我尝试使用距目标的最大日期从源捕获1小时的记录。我可以做到这一点。

我的问题是错误处理:我创建了错误处理表来记录错误内容。在源列顶部添加了几列。例如{sys_add_timestampsys_updated_timestamp)。

因此,对于错误表中相同记录的完整迭代,如何在pentaho的(sys_updated_timestamp)中附加更新的时间戳?

sys_add_timestamp,       sys_updated_timestamp
current timestamp,       null,                   -> 1st record in error table
current-timestamp(same), updated timestamp       -> same record with upted time    
current timestamp(same), updated timestamp +1    ->   same record with updated time 

那么我们如何在pentaho数据集成中做到这一点?

enter image description here

0 个答案:

没有答案
相关问题