SEZ9 commented on issue #13384:
URL: https://github.com/apache/seatunnel/issues/13384#issuecomment-7090217687

   @SEPURI-SAI-KRISHNA thanks for picking this up and for the quick turnaround.
   
   Your PR matches the direction agreed above: option 1, where a `WHERE` that 
rejects an `UPDATE_AFTER` emits the projected row as a `DELETE`, in both the 
Zeta and Calcite engines and with no sink changes. From your description, the 
row-kind unit tests, the FakeSource -> Sql/Calcite -> Jdbc E2E with exact final 
rows, and the EN/ZH docs cover what was requested.
   
   Thanks also for spelling out the trade-offs. A `DELETE` reaching the target 
for a key it never had is the expected cost of not relying on a complete 
`UPDATE_BEFORE` image, and the `DELETE` privilege requirement and the Kudu 
`ignore_not_found = true` caveat are the right things to document.
   
   Two things to confirm, so the detailed review can continue on the PR:
   
   1. **Key columns:** What happens when the projection does not include the 
key columns the downstream delete needs? Is that case rejected, documented as a 
requirement, or handled some other way?
   2. **Row-kind coverage:** Do the unit tests assert the output row kind for 
insert, delete, update-before and update-after, under both matching and 
nonmatching predicates, in both engines?
   
   <!-- streview-comment:2551 -->


-- 
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]

Reply via email to