This is an automated email from the ASF dual-hosted git repository.
nagarwal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new b2c47a2 [HUDI-1589] Fix Rollback Metadata AVRO backwards
incompatiblity (#2543)
b2c47a2 is described below
commit b2c47a24be53016d1c9220cb98d9fb7cd587e748
Author: n3nash <[email protected]>
AuthorDate: Fri Feb 5 16:03:34 2021 -0800
[HUDI-1589] Fix Rollback Metadata AVRO backwards incompatiblity (#2543)
---
hudi-common/src/main/avro/HoodieRollbackMetadata.avsc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc
b/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc
index f1c9fd5..f342db8 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 }
]
}}},
{