You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/03/02 11:13:41 UTC
[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue
#4306: Why do distributed primary keys need to be retrieved in reverse
order in ShardingGeneratedKeyInsertValueParameterRewriter.rewrite
kimmking edited a comment on issue #4306: Why do distributed primary keys need to be retrieved in reverse order in ShardingGeneratedKeyInsertValueParameterRewriter.rewrite
URL: https://github.com/apache/incubator-shardingsphere/issues/4306#issuecomment-593351335
And I try:
```
Logic SQL: insert into user(`name`,`age`)
values ('name-11',11),('name-12',12),('name-13',13),('name-14',14);
..ds_1 ::: insert into user2(`name`,`age`, id) values ('name-11', 11, 441315240232091649)
..ds_0 ::: insert into user0(`name`,`age`, id) values ('name-12', 12, 441315240232091648)
..ds_0 ::: insert into user2(`name`,`age`, id) values ('name-13', 13, 441315240227897346)
..ds_1 ::: insert into user0(`name`,`age`, id) values ('name-14', 14, 441315240227897345)
```
It's the same.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services