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

   ### Backend
   Doris Whether it is insert, delete, or update, the label prefix is insert, 
which may confuse users.
   ### Change
   Add Update and Delete label prefix
   ### Test
   
   ```
   
   mysql>  insert into t2 (id,id_str) values (2,'test2');
   Query OK, 1 row affected (0.09 sec)
   {'label':'insert_b16405a387f14bfa_947dc9b2217ee3df', 'status':'VISIBLE', 
'txnId':'17023'}
   
   mysql>  insert into t1 (id,id_str) values (2,'test2');
   Query OK, 1 row affected (0.09 sec)
   {'label':'insert_c3acdf63bf94e87_ad65a2dca88f5576', 'status':'VISIBLE', 
'txnId':'17025'}
   
   mysql> update t2 set id_str='update2';
   Query OK, 2 rows affected (5.27 sec)
   {'label':'update_903a88c8defe41d5_a7fca85159c84e50', 'status':'VISIBLE', 
'txnId':'17026'}
   
   
   mysql> delete from  t2  where id =2;
   Query OK, 0 rows affected (5.56 sec)
   {'label':'delete_1ca419aa-b7a2-41f6-9cbd-e14f4c7517f4', 'status':'VISIBLE', 
'txnId':'17028'}
   
   mysql> delete from t1 where t1.id in (select id from t2);
   Query OK, 1 row affected (4.41 sec)
   {'label':'delete_7e2ae75fee9a42b7_9322d4ae8b80a28b', 'status':'VISIBLE', 
'txnId':'17034'}
   
   
   ```
   
   


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