yihua commented on code in PR #10722: URL: https://github.com/apache/hudi/pull/10722#discussion_r1498840925
########## hudi-common/src/test/java/org/apache/hudi/common/data/TestHoodieListData.java: ########## @@ -72,4 +73,23 @@ public void testGetNumPartitions() { IntStream.rangeClosed(0, 100).boxed().collect(Collectors.toList())); assertEquals(1, listData.getNumPartitions()); } + + @Test + public void testIsEmpty() { + // HoodieListData bearing eager execution semantic + HoodieData<Integer> listData = HoodieListData.eager( + IntStream.rangeClosed(0, 100).boxed().collect(Collectors.toList())); + assert !listData.isEmpty(); Review Comment: use `assertTrue()` or `assertFalse()`? -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org