azexcy commented on PR #20629:
URL: https://github.com/apache/shardingsphere/pull/20629#issuecomment-1229977200
```
sharding_db=> select * from test.t_order_item where order_id =
771051720372387876;
item_id | order_id | user_id | status
--------------------+--------------------+---------+--------
771051720372387914 | 771051720372387876 | 3 | update
(1 row)
sharding_db=> insert into test.t_order_item
values(771051720372387914,771051720372387876,3, 'AABBCCDDD') ON DUPLICATE KEY
UPDATE
order_id=EXCLUDED.order_id,user_id=EXCLUDED.user_id,status=EXCLUDED.status;
INSERT 0 1
sharding_db=> select * from test.t_order_item where order_id =
771051720372387876;
item_id | order_id | user_id | status
--------------------+--------------------+---------+-----------
771051720372387914 | 771051720372387876 | 3 | AABBCCDDD
(1 row)
sharding_db=>
```
--
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]