Harif-Rahman commented on issue #25136:
URL: 
https://github.com/apache/shardingsphere/issues/25136#issuecomment-1510134703

   @tuichenchuxin 
   i used sqlCommentParseEnabled as false and this is my configuration for that
   
       CacheOption parseTreeCacheOption = new CacheOption(128, 1024L);
       CacheOption sqlStatementCacheOption = new CacheOption(2000, 65535L);
       Collection<RuleConfiguration> ruleConfigurations = new ArrayList<>();
       ruleConfigurations.add(shardingRuleConfig);
       ruleConfigurations.add(new SQLParserRuleConfiguration(false, 
parseTreeCacheOption, sqlStatementCacheOption));
   
   
   But the sql query going to mysql is going without comments itself but 
ideally we need to ignore only on parse and we need to pass the actual sql with 
comments to mysql right ?


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to