SEPURI-SAI-KRISHNA commented on issue #13384: URL: https://github.com/apache/seatunnel/issues/13384#issuecomment-7122685768
Thank you @zhangshenghang and @SEZ9, that direction makes sense to me, and I agree the default should stay exactly as on dev. Proposal, the same in `Sql` and `Calcite`: - Option: `where_rejected_update_as_delete`, boolean, default `false`. - `false`: the `WHERE` clause behaves exactly as today, and a rejected `UPDATE_AFTER` is dropped. - `true`: a rejected `UPDATE_AFTER` is emitted as a `DELETE` of the projected row. It is meant for jobs whose query selects a stable key and whose sink deletes by that key. #13393 will then add: - unit tests asserting the row kinds for both settings in both engines; - E2E with exact final rows for Sql and Calcite: a schema primary key, a key set only on the sink, and keyless append-only Jdbc with the default; - EN/ZH docs on the stable-key and projection limits, including a query that does not select the key; - Daniel's Javadoc and test cleanup points. Do the name and default work for you? I am happy to rename it if you prefer something else. -- 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]
