Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ byte[] encodeRecord() {
}

void decodeRecord(Schema schema) {
if (record == null) {
if (this.schema == null) {
this.schema = schema;
}
}
Expand All @@ -105,7 +105,6 @@ public IndexedRecord getData() {
try {
record = HoodieAvroUtils.bytesToAvro(recordBytes, schema);
recordBytes = null;
schema = null;
} catch (IOException e) {
throw new HoodieIOException("Failed to parse record into provided schema", e);
}
Expand Down
Loading