lwtdev commented on issue #7548:
URL: https://github.com/apache/shardingsphere/issues/7548#issuecomment-697151214


   @tristaZero 
   > 1. If there are no `actual tables` for `customer` table rule. It is 
possible for users to execute `create table customer` in ShardingProxy to 
create these actual `customer_xx` tables (Or we can interpret it as a logic 
table `customer`). However, currently, **This function can not work well, can 
it?**
   
   Thats' the problem. This function can not work well when I test yestday.
   
   > 2. If there are no `actual tables` for the `customer` table rule, which 
actually means there is no `logic table` named `customer` in ShardingProxy, 
then any queries on this `customer` table should return the error like `ERROR 
1146 (42S02): Table 'customer' doesn't exist`. At present, **NPE is unexpected 
error info, right.**
   
   Yes, and `stcl:explain sql`  should be return sql route information.
   


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


Reply via email to