You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by yi...@apache.org on 2022/04/02 03:17:30 UTC

[hudi] branch master updated: [HUDI-3708] Fix failure with HoodieMetadataRecord due to schema compatibility check (#5204)

This is an automated email from the ASF dual-hosted git repository.

yihua 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 b1e7e1f  [HUDI-3708] Fix failure with HoodieMetadataRecord due to schema compatibility check (#5204)
b1e7e1f is described below

commit b1e7e1f14eb093e50f74f23a7622c4e38886553a
Author: Y Ethan Guo <et...@gmail.com>
AuthorDate: Fri Apr 1 20:17:02 2022 -0700

    [HUDI-3708] Fix failure with HoodieMetadataRecord due to schema compatibility check (#5204)
---
 hudi-common/src/main/avro/HoodieMetadata.avsc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hudi-common/src/main/avro/HoodieMetadata.avsc b/hudi-common/src/main/avro/HoodieMetadata.avsc
index a6807d5..4b458bd 100644
--- a/hudi-common/src/main/avro/HoodieMetadata.avsc
+++ b/hudi-common/src/main/avro/HoodieMetadata.avsc
@@ -115,7 +115,8 @@
                             "type": [
                                 "null",
                                 "string"
-                            ]
+                            ],
+                            "default" : null
                         },
                         {
                             "doc": "Minimum value in the range. Based on user data table schema, we can convert this to appropriate type",