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/10/10 07:41:58 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #7731: How to configure no sharding schema in 5.0.0-RC1

tristaZero commented on issue #7731:
URL: https://github.com/apache/shardingsphere/issues/7731#issuecomment-706505728


   @lwtdev Every time I see your issue, I guess there may be a bug likely. :-) Believe me, you are definitely a good QA engineer. 😃 
   Back to this issue, `no sharding schema` you mentioned means `defaultDataSourceName: ds_0`, doesn't it?
   We remove the `defaultDataSource` setting, which means ShardingSphere will help the user manage all the data sources. 
   In your case, does `customer` exist in any data source? That way, users do not need to configure any `defaultDataSourceName`, since ShardingSphere cache the metadata of all the tables (non-sharding tables included).
   Consequently, If you have a table `customer` in a certain data source, ShardingSphere will know its position after startup. Next, you execute `drop table customer`, it will position this table and run your SQL.
   
   What do you think? Welcome your feedback kindly.
   
   Best,
   Trista


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