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 2019/11/18 03:28:46 UTC

[GitHub] [incubator-shardingsphere] RaigorJiang commented on issue #3518: A table without rules cannot get column information through "show full fields from table name"

RaigorJiang commented on issue #3518: A table without rules cannot get column information through "show full fields from table name"
URL: https://github.com/apache/incubator-shardingsphere/issues/3518#issuecomment-554835538
 
 
   Hi, @waterMeteors 
   According to the existing logic, when the DAL statement (like show full fields, show create table) cannot find the routing rule, it uses random routing.  so that:
   1,  if the routing database **has** the target table, we will get correct result;
   2, if the routing database **doesn't have** the target table, we will get an error: 'table doesn't exist';
   
   Did you configure the 'defaultDataSourceName'?     
   If you can configure 'defaultDataSourceName', I think we can route to default data source in the case.
   What do you think? 

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