suryaprasanna commented on code in PR #17494:
URL: https://github.com/apache/hudi/pull/17494#discussion_r2688492142
##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/functional/TestHoodieIndex.java:
##########
@@ -325,6 +361,66 @@ public void testLookupIndexWithAndWithoutColumnStats()
throws Exception {
recordLocations.foreach(entry ->
assertEquals(recordKeyToPartitionPathMap.get(entry._1.getRecordKey()),
entry._1.getPartitionPath(), "PartitionPath mismatch"));
}
+ @ParameterizedTest
+ @MethodSource("indexTypeParams")
+ public void testTagLocationDuringUpdatesAndFailures(IndexType indexType,
boolean populateMetaFields, boolean enableMetadataIndex) throws Exception {
+ setUp(indexType, populateMetaFields, enableMetadataIndex);
+ String newCommitTime =
HoodieInstantTimeGenerator.getCurrentInstantTimeStr();
+ int initialRecords = 10;// + new Random().nextInt(20);
Review Comment:
Good catch, removed the unnecessary comment.
--
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]