You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/11/01 11:26:52 UTC

[GitHub] [ignite] timoninmaxim commented on a change in pull request #9540: IGNITE-15530 IndexQuery uses MergeSort

timoninmaxim commented on a change in pull request #9540:
URL: https://github.com/apache/ignite/pull/9540#discussion_r740141094



##########
File path: modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryProcessor.java
##########
@@ -123,6 +131,22 @@ public IndexQueryProcessor(IndexProcessor idxProc) {
         };
     }
 
+    /** @return Mask with {@code 1} for DESC criteria and {@code 0} for ASC criteria. */
+    private int orderMask(UUID idxId, int critSize) {
+        Iterator<IndexKeyDefinition> it = idxProc.indexDefinition(idxId).indexKeyDefinitions().values().iterator();

Review comment:
       @AMashenkov hi! Thanks for the review. I added this check.




-- 
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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org