1
0

[HUDI-1589] Fix Rollback Metadata AVRO backwards incompatiblity (#2543)

This commit is contained in:
n3nash
2021-02-05 16:03:34 -08:00
committed by GitHub
parent b5d4a046bb
commit b2c47a24be

View File

@@ -31,22 +31,22 @@
{"name": "partitionPath", "type": "string"}, {"name": "partitionPath", "type": "string"},
{"name": "successDeleteFiles", "type": {"type": "array", "items": "string"}}, {"name": "successDeleteFiles", "type": {"type": "array", "items": "string"}},
{"name": "failedDeleteFiles", "type": {"type": "array", "items": "string"}}, {"name": "failedDeleteFiles", "type": {"type": "array", "items": "string"}},
{"name": "rollbackLogFiles", "type": { {"name": "rollbackLogFiles", "type": ["null", {
"type": "map", "type": "map",
"doc": "Files to which append blocks were written to capture rollback commit", "doc": "Files to which append blocks were written to capture rollback commit",
"values": { "values": {
"type": "long", "type": "long",
"doc": "Size of this file in bytes" "doc": "Size of this file in bytes"
} }
}}, }], "default":null },
{"name": "writtenLogFiles", "type": { {"name": "writtenLogFiles", "type": ["null", {
"type": "map", "type": "map",
"doc": "Log files written that were expected to be rolledback", "doc": "Log files written that were expected to be rolledback",
"values": { "values": {
"type": "long", "type": "long",
"doc": "Size of this file in bytes" "doc": "Size of this file in bytes"
} }
}} }], "default":null }
] ]
}}}, }}},
{ {