Hi, David
For example, one of our customers in the financial industry mentioned a 
specific requirement during the data desensitization process. They want In the 
desensitized data, the sum of trade amounts in the desensitized dataset should 
be consistent with the sum of amounts in the original dataset. we process data 
by row, we need to keep track the accumulated amount of processed data.
The other example, when desensitizing  trade data, the cumulative  trade amount 
for a single customer should be the total amount of processed record. We also 
need to keep the accumulated amount of processed data of the customer.
Therefore, I suggest adding the feature of state management, like Flink.




Best Regards,
Dong Chunguo

















在 2026-09-22 22:25:24,"David Zollo" <[email protected]> 写道:
>Hi Dong,
>Can you show an example? Why would there be inconsistency before and after
>multiple transforms in SeaTunnel? I didn't follow you.
>
>
>Best Regards,
>David
>Linkedin: https://www.linkedin.com/in/davidzollo
>
>
>
>On Sat, Sep 19, 2026 at 10:23 PM cYApvFQF <[email protected]> wrote:
>
>> 【建议在Transform的过程中增加状态管理- Recommended to incorporate state management into
>> the Transform process  】
>>
>> 我本人做过多年的数据ETL工具产品和相关功能模块的开发,曾经参与主导过公司内部数据脱敏、大数据采集(Batch or CDC,base on
>> Flink)产品和项目的建设实施工作。在数据脱敏、大数据量的整体迁移方面,我非常看好Seatunnel。
>>
>> 实际的工作经验中,经常碰到在进行ETL加工过程中(尤其数据脱敏或者生成测试数据方面),经常碰到需要将某项数据的总和,在脱敏或造数的过程中,需要保持该项数据在整个处理完成后形成的数据集中,总和保持不变;或者某项数据的生成是根据已经有的数据按照一定的逻辑计算出来的情形。这些情况比较普遍。
>>
>> 在Flink中已有相应的状态管理机制可以满足此要求。Seatunnel是否可以参考Flink,后续能够增加类似的状态管理机制,可以复用类似Checkpoint的保存机制来进行处理。
>> 以上,还请斟酌考虑。
>>
>> ---------------------------------------------------------------------------------------------------
>> I have personally been engaged in the development of data ETL tool
>> products and related functional modules for many years. I have also
>> participated in and led the construction and implementation of internal
>> data desensitization, big data collection (Batch or CDC, based on Flink)
>> products and projects. In terms of data desensitization and overall
>> migration of large data volumes, I am very optimistic about Seatunnel.
>> In practical work experience, we often encounter situations during the ETL
>> processing (especially in data desensitization or test data generation),
>> where it is necessary to maintain the sum of a certain data item in the
>> dataset formed after the entire processing is completed, ensuring that the
>> sum remains unchanged during desensitization or data generation. Or there
>> may be situations where the generation of a certain data item is based on
>> existing data calculated according to a certain logic. These situations are
>> quite common.
>> In Flink, there is already a corresponding state management mechanism that
>> can meet this requirement. Can Seatunnel refer to Flink and subsequently
>> add a similar state management mechanism, possibly reusing a
>> checkpoint-like saving mechanism for processing.
>> Please carefully consider the above.
>>
>>
>> Thanks, Dong Chunguo

Reply via email to