CodingBingo opened a new issue #12307:
URL: https://github.com/apache/shardingsphere/issues/12307


   I am develop on master branch these days. when I transfer from mycat to 
ShardignSphere, I found that if I insert a record into my table, it will return 
a very large id.
   In our case, we want to control all database config in one place, so, we put 
different tables in one file, some of them are just single table in single 
database, we prefer use mysql auto increment id. I am wandering if 
ShardingSphere can add an arguments to determine if using keyGenerate or not.
   ```
   INSERT INTO `food` (`gmt_create`, `gmt_modified`, `name`, `photo`, `unit`, 
`school_id`)
   VALUES( '2020-03-31 21:51:58', '2020-03-31 21:51:58', 'egg', NULL, NULL, 
100082);
   ```


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


Reply via email to