luwei16 opened a new pull request, #68034:
URL: https://github.com/apache/doris/pull/68034

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: Predicate deletes only persist delete predicates and 
therefore cannot produce row-level DELETE events. A merge-on-write unique table 
with light delete enabled incorrectly used that path even when ROW binlog was 
enabled, leaving downstream consumers with stale rows. Route these deletes 
through row-bearing DELETE FROM USING execution, and reject any ROW-binlog 
predicate delete that still reaches the legacy handler.
   
   ### Release note
   
   Ensure DELETE on merge-on-write unique tables with ROW binlog emits 
row-level DELETE events even when light delete is enabled. Predicate DELETE on 
ROW-binlog tables now reports an explicit unsupported error.
   
   ### Check List (For Author)
   
   - Test: Regression test, FE unit test, and manual test
       - Regression test: row_binlog_p0/test_row_binlog_mow_light_delete
       - Unit Test: 
org.apache.doris.nereids.trees.plans.commands.DeleteFromCommandTest
       - Manual test: verified ROW binlog DELETE events with historical values 
disabled and enabled
   - Behavior changed: Yes; MOW ROW-binlog deletes use row-bearing execution, 
while unsupported predicate deletes fail explicitly
   - Does this need documentation: No


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to