morningman edited a comment on pull request #3943:
URL: https://github.com/apache/incubator-doris/pull/3943#issuecomment-649570385


   I think the root cause is we lost the relationship of the 2 delete 
conditions in same delete stmt.
   For example, the following 2 cases should has different result:
   
   Base data:
   ```
   k1, k2
   1, 2
   1, 3
   ```
   
   case 1:
   `delete from tbl where k1=1 and k2=2`;
   case 2:
   `delete from tbl where k1=1;`
   `delete from tbl where k2=2;`
   
   We treat the above 2 cases as same, which is incorrect.
   
   So I think only change the `intersect` to `union` is not the right way to 
fix the bug.
   
   
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to