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


   @johnny2002 The reason is that we can not know whether this `logicTableName` 
exists at your input SQL if there is no SQL parsing.
   
   > > sql parsing is a necessary phase.
   > 
   > If you know the logicTableName, why do you need to parse SQL?
   > 
   > So suggestted solution:
   > HintManager hintManager = HintManager.getInstance();
   > hintManager.setDatabaseShardingValue("0");
   > hintManager.setLogicTableName("tab_user");
   > 
   > Then skip sql parsing
   
   


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