Skip to content

Commit

Permalink
Fix write into non bucket indexed table with changelog.enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
geserdugarov committed Feb 11, 2025
1 parent 3950556 commit 04a23b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void processElement(I record,
payload = payloadCreation.createPayload(gr);
}
// [HUDI-8968] Use operationType uniformly instead of instantTime
HoodieOperation operation = HoodieOperation.fromName(record.getInstantTime());
HoodieOperation operation = HoodieOperation.fromValue(row.getRowKind().toByteValue());
HoodieRecord hoodieRecord = new HoodieAvroRecord<>(hoodieKey, payload, operation);

hoodieRecord.unseal();
Expand Down

0 comments on commit 04a23b3

Please sign in to comment.