[HUDI-1589] Fix Rollback Metadata AVRO backwards incompatiblity (#2543)
This commit is contained in:
@@ -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 }
|
||||||
]
|
]
|
||||||
}}},
|
}}},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user