You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by si...@apache.org on 2022/04/18 14:37:14 UTC

[hudi] branch master updated: [HUDI-3886] Adding default null for some of the fields in col stats in MDT schema (#5329)

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

sivabalan 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 b00d03fd62 [HUDI-3886] Adding default null for some of the fields in col stats in MDT schema (#5329)
b00d03fd62 is described below

commit b00d03fd62795f739076423994841bf8cc1151d4
Author: Sivabalan Narayanan <n....@gmail.com>
AuthorDate: Mon Apr 18 10:37:03 2022 -0400

    [HUDI-3886] Adding default null for some of the fields in col stats in MDT schema (#5329)
---
 hudi-common/src/main/avro/HoodieMetadata.avsc | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/hudi-common/src/main/avro/HoodieMetadata.avsc b/hudi-common/src/main/avro/HoodieMetadata.avsc
index a8d7ca72bd..a47cbf3784 100644
--- a/hudi-common/src/main/avro/HoodieMetadata.avsc
+++ b/hudi-common/src/main/avro/HoodieMetadata.avsc
@@ -107,7 +107,8 @@
                             "type": [
                                 "null",
                                 "string"
-                            ]
+                            ],
+                            "default" : null
                         },
                         {
                             "doc": "Column name for which this column statistics applies",
@@ -318,7 +319,8 @@
                             "type": [
                                 "null",
                                 "long"
-                            ]
+                            ],
+                            "default": null
                         },
                         {
                             "doc": "Total count of null values",
@@ -326,7 +328,8 @@
                             "type": [
                                 "null",
                                 "long"
-                            ]
+                            ],
+                            "default": null
                         },
                         {
                             "doc": "Total storage size on disk",
@@ -334,7 +337,8 @@
                             "type": [
                                 "null",
                                 "long"
-                            ]
+                            ],
+                            "default": null
                         },
                         {
                             "doc": "Total uncompressed storage size on disk",
@@ -342,7 +346,8 @@
                             "type": [
                                 "null",
                                 "long"
-                            ]
+                            ],
+                            "default": null
                         },
                         {
                             "doc": "Column range entry valid/deleted flag",