prashantwason commented on code in PR #9058:
URL: https://github.com/apache/hudi/pull/9058#discussion_r1245466047
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecord.java:
##########
@@ -311,6 +311,17 @@ public void checkState() {
protected abstract T readRecordPayload(Kryo kryo, Input input);
+ /**
+ * Clears the new currentLocation of the record.
+ *
+ * This is required in the delete path so that Index can track that this
record was deleted.
+ */
+ public HoodieRecord clearNewLocation() {
Review Comment:
Fixed. Code was copied from setNewLocation which also needs fix.
--
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]