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 2021/03/11 12:23:29 UTC

[GitHub] [shardingsphere] sandynz commented on issue #9614: How to create sharing tables and single tables with the default sharing strategies

sandynz commented on issue #9614:
URL: https://github.com/apache/shardingsphere/issues/9614#issuecomment-796698566


   Some scenerios are verified, test tables : `ta` and `tb`:
   - In `config-sharding.yaml`, `ta` is configured including `actualDataNodes`, `tb` is not configured, whether default database/table strategy is configured or not, sharding tables will be created for `CREATE TABLE ta (id bigint)`, single table will be created for `CREATE TABLE tb (id bigint)`
   
   According to source code and testing, in order to create sharding tables, `actualDataNodes` will be used to decide the sharding range in routing stage, it already works. It's not necessary to do this after some discusion with developer team.
   


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