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

morningman pushed a commit to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit c302179ee3923e35cffab48eb107239d378c4e35
Author: camby <104178...@qq.com>
AuthorDate: Thu Feb 24 23:16:41 2022 +0800

    [Feature][array-type]add proto for complex data type ARRAY (#8212)
    
    1. Add repeated PBlock.PColumnMeta.children field for complex data type, 
such as ARRAY;
    2. change PBlock.PColumnMeta.name to optional, nested columns do not need 
to a column name;
---
 gensrc/proto/data.proto | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gensrc/proto/data.proto b/gensrc/proto/data.proto
index 8c9e2c0..b1c5273 100644
--- a/gensrc/proto/data.proto
+++ b/gensrc/proto/data.proto
@@ -52,10 +52,11 @@ message PColumnMeta {
         optional uint32 precision = 1;
         optional uint32 scale = 2;
     }
-    required string name = 1;
-    required PGenericType.TypeId type = 2;
+    optional string name = 1 [default = ""];
+    optional PGenericType.TypeId type = 2 [default = UNKNOWN];
     optional bool is_nullable = 3 [default = false];
     optional Decimal decimal_param = 4;
+    repeated PColumnMeta children = 5;
 }
 
 message PBlock {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to