SEZ9 commented on issue #13384: URL: https://github.com/apache/seatunnel/issues/13384#issuecomment-7144983019
@SEPURI-SAI-KRISHNA Thanks for the clear proposal. `where_rejected_update_as_delete` with default `false`, identical in `Sql` and `Calcite`, matches the opt-in direction @zhangshenghang asked for: the existing `WHERE` behavior stays as it is unless a job enables the option. This narrows the earlier option 1 rule (always emit a `DELETE` for a rejected `UPDATE_AFTER`) to an opt-in, which is fine with me given the keyless JDBC case you reproduced. The name and default look reasonable to me, but I'll leave the final confirmation to @zhangshenghang, since that request was theirs. The remaining work for #13393 is the list you posted: - **Unit tests:** row-kind assertions for both settings in both engines. - **E2E:** exact final rows for Sql and Calcite, covering a schema primary key, a key set only on the sink, and keyless append-only Jdbc with the default. - **Docs:** the stable-key and projection limits in EN and ZH, including a query that does not select the key. - **Cleanup:** the Javadoc and test cleanup points you mentioned. Please link the update here once it is pushed. <!-- streview-comment:2583 --> -- 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]
