Tengmz opened a new issue, #10620: URL: https://github.com/apache/seatunnel/issues/10620
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened configuring one source with two transforms, where the two transforms correspond to two sinks, will result in the data processed by the latter transform being the data already processed by the former transform, leading to contamination of the source data. Expectation: For the same source, the data processed by different subsequent transforms should be identical. ### SeaTunnel Version 2.3.12 ### SeaTunnel Config ```conf { "env":{ "job.mode":"BATCH", "job.name":"test0009", "parallelism":"1", "job.retry.times":0 }, "sink":[ { "plugin_name":"jdbc", "plugin_input":[ "39b1ae00-c2c4-453b-a32f-2e4ef51132e6_FieldMapper" ], "url":"jdbc:postgresql://localhost:5432/postgres", "driver":"org.postgresql.Driver", "user":"root", "password":"****", "database":"postgres", "schema":"public", "table":"test4_2", "batch_size":1024, "generate_sink_sql":true, "schema_save_mode":"CREATE_SCHEMA_WHEN_NOT_EXIST", "data_save_mode":"APPEND_DATA", "primary_keys":[ "id" ], "enable_upsert":true }, { "plugin_name":"jdbc", "plugin_input":[ "5826ef57-7775-4a12-9d16-5c57effe5800_FieldMapper" ], "url":"jdbc:postgresql://localhost:5432/postgres", "driver":"org.postgresql.Driver", "user":"root", "password":"****", "database":"postgres", "schema":"public", "table":"test4_3", "batch_size":1024, "generate_sink_sql":true, "schema_save_mode":"CREATE_SCHEMA_WHEN_NOT_EXIST", "data_save_mode":"APPEND_DATA", "primary_keys":[ "id" ], "enable_upsert":true } ], "source":[ { "connection_check_timeout_sec":100, "driver":"org.postgresql.Driver", "password":"****", "plugin_name":"Jdbc", "plugin_output":"4e519391-056b-4f3b-8711-ab742c714cac", "query":"SELECT \"id\", \"code\", \"name\", \"phone\", \"id_card\" FROM \"public\".\"test4_1\"", "url":"jdbc:postgresql://localhost:5432/postgres", "user":"root" } ], "transform":[ { "replace_field":"phone", "pattern":"1", "replacement":"a", "plugin_input":"4e519391-056b-4f3b-8711-ab742c714cac", "plugin_name":"Replace", "plugin_output":"a0c09f36-cb81-4f9b-82a8-8dbd45e04ca8" }, { "field_mapper":{ "id":"id", "code":"code", "name":"name", "phone":"phone", "id_card":"id_card" }, "plugin_input":"a0c09f36-cb81-4f9b-82a8-8dbd45e04ca8", "plugin_name":"FieldMapper", "plugin_output":"39b1ae00-c2c4-453b-a32f-2e4ef51132e6_FieldMapper" }, { "replace_field":"name", "pattern":"雷", "replacement":"a", "plugin_input":"4e519391-056b-4f3b-8711-ab742c714cac", "plugin_name":"Replace", "plugin_output":"2e2756d8-6de3-4089-95a7-100f058b8a36" }, { "field_mapper":{ "id":"id", "code":"code", "name":"name", "phone":"phone", "id_card":"id_card" }, "plugin_input":"2e2756d8-6de3-4089-95a7-100f058b8a36", "plugin_name":"FieldMapper", "plugin_output":"5826ef57-7775-4a12-9d16-5c57effe5800_FieldMapper" } ] } ``` ### Running Command ```shell seatunnel k8s clusters ``` ### Error Exception ```log the data processed by the latter transform being the data already processed by the former transform ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version java17 ### Screenshots <img width="1112" height="380" alt="Image" src="https://github.com/user-attachments/assets/5f8e01df-f04d-462b-ae09-d47e197f07b5" /> ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
