korlov42 commented on code in PR #1191:
URL: https://github.com/apache/ignite-3/pull/1191#discussion_r1003369971


##########
modules/storage-api/src/testFixtures/java/org/apache/ignite/internal/storage/impl/TestMvTableStorage.java:
##########
@@ -139,6 +139,20 @@ public HashIndexStorage getOrCreateHashIndex(int 
partitionId, UUID indexId) {
         return sortedIndices.getOrCreateStorage(partitionId);
     }
 
+    @Override
+    public HashIndexStorage getOrCreateHashIndex(int partitionId, 
HashIndexDescriptor descriptor) {
+        if (!partitions.containsKey(partitionId)) {
+            throw new StorageException("Partition ID " + partitionId + " does 
not exist");
+        }
+
+        HashIndices sortedIndices = hashIndicesById.computeIfAbsent(

Review Comment:
   done



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