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/12/15 11:49:51 UTC

[GitHub] [ignite-3] ygerzhedovich commented on a change in pull request #509: IGNITE-16128: Implement bulk table operations for non-binary views.

ygerzhedovich commented on a change in pull request #509:
URL: https://github.com/apache/ignite-3/pull/509#discussion_r769553217



##########
File path: modules/table/src/test/java/org/apache/ignite/internal/table/RecordViewOperationsTest.java
##########
@@ -271,6 +273,25 @@ public void replaceExact() {
         assertNull(tbl.get(key));
     }
 
+    @Test
+    public void getAll() {
+        final TestObjectWithAllTypes key1 = key(rnd);
+        final TestObjectWithAllTypes key2 = key(rnd);
+        final TestObjectWithAllTypes key3 = key(rnd);
+        final TestObjectWithAllTypes val1 = randomObject(rnd, key1);
+        final TestObjectWithAllTypes val3 = randomObject(rnd, key3);
+
+        RecordView<TestObjectWithAllTypes> tbl = recordView();
+
+        tbl.upsertAll(List.of(val1, val3));
+
+        Collection<TestObjectWithAllTypes> res = tbl.getAll(List.of(key1, /*key2,*/ key3));

Review comment:
       why is key2 commented?




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