yihua commented on code in PR #13726:
URL: https://github.com/apache/hudi/pull/13726#discussion_r2296691346
##########
hudi-common/src/main/java/org/apache/hudi/common/model/SerializableIndexedRecord.java:
##########
@@ -98,6 +103,19 @@ public void read(Kryo kryo, Input input) {
this.recordBytes = input.readBytes(length);
}
+ private void writeObject(ObjectOutputStream out) throws IOException {
Review Comment:
I see. Let's keep it for now.
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -197,17 +215,18 @@ public HoodieRecord truncateRecordKey(Schema
recordSchema, Properties props, Str
@Override
protected boolean checkIsDelete(Schema recordSchema, Properties props) {
+ decodeRecord(recordSchema);
if (getData().equals(SENTINEL)) {
return false; // Sentinel record is not a delete
}
Review Comment:
Got it
--
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]