the-other-tim-brown commented on code in PR #13449:
URL: https://github.com/apache/hudi/pull/13449#discussion_r2153514364
##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/TestWriteStatus.java:
##########
@@ -214,22 +214,11 @@ public void testRemoveMetadataStats() {
stats.put("field1", HoodieColumnRangeMetadata.<Comparable>create("f1",
"field1", 1, 2, 0, 2, 5, 10));
status.setStat(new HoodieWriteStat());
status.getStat().putRecordsStats(stats);
- assertEquals(1, status.getWrittenRecordDelegates().size());
+ assertEquals(1, status.getIndexStats().getWrittenRecordDelegates().size());
assertEquals(1, status.getStat().getColumnStats().get().size());
// Remove metadata stats
status.removeMetadataStats();
- assertEquals(0, status.getWrittenRecordDelegates().size());
- }
-
- @Test
- public void testDropErrorRecords() {
Review Comment:
Related to https://github.com/apache/hudi/pull/13449#discussion_r2153457033
--
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]