danny0405 commented on code in PR #10632:
URL: https://github.com/apache/hudi/pull/10632#discussion_r1487006863
##########
hudi-common/src/main/java/org/apache/hudi/common/engine/HoodieReaderContext.java:
##########
@@ -219,4 +219,11 @@ public Map<String, Object>
updateSchemaAndResetOrderingValInMetadata(Map<String,
public long extractRecordPosition(T record, Schema schema, String fieldName,
long providedPositionIfNeeded) {
return providedPositionIfNeeded;
}
+
+ /**
+ * Constructs engine specific delete record.
+ */
+ public T constructRawDeleteRecord(Map<String, Object> metadata) {
Review Comment:
A payload from the `DeleteBlock` contains only record keys, so the engine
needs to decode it as an native record with record key set up. Any other
deletes records from the data block should includes all the data fields, we
should keep these fields while deciphering.
--
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]