sanpwc commented on a change in pull request #5875: IGNITE-10305
URL: https://github.com/apache/ignite/pull/5875#discussion_r250946397
 
 

 ##########
 File path: 
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/GridReduceQueryExecutor.java
 ##########
 @@ -1338,4 +1345,36 @@ private static long retryTimeout(long qryTimeout) {
 
         return IgniteSystemProperties.getLong(IGNITE_SQL_RETRY_TIMEOUT, 
DFLT_RETRY_TIMEOUT);
     }
+
+
+    /**
+     * Prepare map query based on original sql.
+     *
+     * @param qry Two step query.
+     * @param params Query parameters.
+     * @return Updated map query list with one map query.
+     */
+    private List<GridCacheSqlQuery> 
prepareMapQueryForSinglePartition(GridCacheTwoStepQuery qry, Object[] params) {
+        boolean hasSubQries = false;
+
+        for (GridCacheSqlQuery mapQry : qry.mapQueries())
+            hasSubQries |= mapQry.hasSubQueries();
 
 Review comment:
   fixed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to