jonvex commented on code in PR #11943:
URL: https://github.com/apache/hudi/pull/11943#discussion_r1806986633


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordPayload.java:
##########
@@ -140,4 +141,15 @@ default Comparable<?> getOrderingValue() {
     // default natural order
     return 0;
   }
+
+  static String getAvroPayloadForMergeMode(RecordMergeMode mergeMode) {
+    switch (mergeMode) {
+      //TODO: After we have merge mode working for writing, we should have a 
dummy payload that will throw exception when used
+      default:

Review Comment:
   CUSTOM doesn't have an associated payload class. For now we will default to 
the default payload. But once we fix the experience of using engine native 
records in the writer, we should not be using payloads anymore.



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