ygerzhedovich commented on a change in pull request #8851:
URL: https://github.com/apache/ignite/pull/8851#discussion_r586546892



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
##########
@@ -2837,7 +2837,7 @@ private void checkxEnabled() throws IgniteException {
             throw new CacheException("Execution of local SqlFieldsQuery on 
client node disallowed.");
 
         if (experimentalQueryEngine != null && useExperimentalSqlEngine) {
-            if (!H2_REDIRECTION_RULES.matcher(qry.getSql()).find())
+            if (H2_REDIRECTION_RULES.matcher(qry.getSql()).find())

Review comment:
       we use such a check twice. Will be good to extract a method to check it?




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