usberkeley commented on code in PR #10722:
URL: https://github.com/apache/hudi/pull/10722#discussion_r1498921481
##########
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:
@yihua bro, Is the modification initiated as a new commit or merged into one
commit?
--
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]