You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by xu...@apache.org on 2022/04/19 10:30:13 UTC
[hudi] 05/11: [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.
xushiyan pushed a commit to branch release-0.11.0
in repository https://gitbox.apache.org/repos/asf/hudi.git
commit 06adf27051da79fafe132acff004a365692a760a
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",