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. So I guess descendingIterator is a mistake, I will try a go
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
