diff --git a/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc b/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc index f1c9fd5b3f8dd..f342db8738d33 100644 --- a/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc +++ b/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc @@ -31,22 +31,22 @@ {"name": "partitionPath", "type": "string"}, {"name": "successDeleteFiles", "type": {"type": "array", "items": "string"}}, {"name": "failedDeleteFiles", "type": {"type": "array", "items": "string"}}, - {"name": "rollbackLogFiles", "type": { + {"name": "rollbackLogFiles", "type": ["null", { "type": "map", "doc": "Files to which append blocks were written to capture rollback commit", "values": { "type": "long", "doc": "Size of this file in bytes" } - }}, - {"name": "writtenLogFiles", "type": { + }], "default":null }, + {"name": "writtenLogFiles", "type": ["null", { "type": "map", "doc": "Log files written that were expected to be rolledback", "values": { "type": "long", "doc": "Size of this file in bytes" } - }} + }], "default":null } ] }}}, {