vinothchandar commented on a change in pull request #3325:
URL: https://github.com/apache/hudi/pull/3325#discussion_r675153817
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/util/SpillableMapUtils.java
##########
@@ -117,6 +117,18 @@ public static long generateChecksum(byte[] data) {
return (R) hoodieRecord;
}
+ /**
+ * Utility method to convert bytes to HoodieRecord using schema and payload
class.
+ */
+ public static <R> R convertToHoodieRecordPayload(GenericRecord rec, String
payloadClazz, String preCombineField) {
Review comment:
can we please reuse code between this method and above?
--
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]