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/07/27 08:27:19 UTC

[GitHub] [shardingsphere] johnny2002 edited a comment on issue #6458: How to skip sql parse and rewrite phase

johnny2002 edited a comment on issue #6458:
URL: https://github.com/apache/shardingsphere/issues/6458#issuecomment-664194201


   > 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:
users@infra.apache.org