rahil-c commented on code in PR #5786:
URL: https://github.com/apache/hudi/pull/5786#discussion_r892857789


##########
hudi-client/hudi-client-common/src/test/java/org/apache/hudi/io/storage/TestHoodieReaderWriterBase.java:
##########
@@ -217,15 +221,24 @@ protected void 
verifyComplexRecords(Iterator<GenericRecord> iterator) {
   }
 
   private void verifyFilterRowKeys(HoodieFileReader<GenericRecord> 
hoodieReader) {
-    Set<String> candidateRowKeys = IntStream.range(40, NUM_RECORDS * 2)
-        .mapToObj(i -> "key" + String.format("%02d", 
i)).collect(Collectors.toCollection(TreeSet::new));
-    List<String> expectedKeys = IntStream.range(40, NUM_RECORDS)
-        .mapToObj(i -> "key" + String.format("%02d", 
i)).sorted().collect(Collectors.toList());
-    assertEquals(expectedKeys, hoodieReader.filterRowKeys(candidateRowKeys)
-        .stream().sorted().collect(Collectors.toList()));
+    Set<String> candidateRowKeys =
+        IntStream.range(40, NUM_RECORDS * 2)
+            .mapToObj(i -> "key" + String.format("%02d", i))
+            .collect(Collectors.toCollection(TreeSet::new));
+    List<String> expectedKeys =
+        IntStream.range(40, NUM_RECORDS)
+            .mapToObj(i -> "key" + String.format("%02d", i))
+            .sorted()
+            .collect(Collectors.toList());
+    assertEquals(
+        expectedKeys,
+        hoodieReader.filterRowKeys(candidateRowKeys).stream()
+            .sorted()
+            .collect(Collectors.toList()));
   }
 
-  private void verifyReaderWithSchema(String schemaPath, 
HoodieFileReader<GenericRecord> hoodieReader) throws IOException {
+  private void verifyReaderWithSchema(

Review Comment:
   This is needed



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