the-other-tim-brown commented on code in PR #13726:
URL: https://github.com/apache/hudi/pull/13726#discussion_r2294928281


##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/io/TestHoodieDefaultMergeHandle.java:
##########
@@ -199,7 +202,9 @@ public void 
testUpsertsForMultipleRecordsInSameFile(ExternalSpillableMap.DiskMap
       // This exists in 001 and should be updated
       HoodieRecord sameAsRecord2 = 
dataGen.generateUpdateRecord(record2.getKey(), newCommitTime);
       updateRecords.add(sameAsRecord2);
-      JavaRDD<HoodieRecord> updateRecordsRDD = jsc.parallelize(updateRecords, 
1);
+      JavaRDD<HoodieRecord> updateRecordsRDD = 
jsc.parallelize(updateRecords.stream()
+          .map(record -> new HoodieAvroRecord<>(record.getKey(), new 
HoodieAvroPayload(Option.of((GenericRecord) record.getData()))))

Review Comment:
   This is intentional since it tests the now legacy merge handle



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