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

xuyang pushed a commit to branch struct-map-type-rebase
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 454ff4c69ab199c55d965b6d6b0ca98ac6ec7c72
Author: xy720 <22125576+xy...@users.noreply.github.com>
AuthorDate: Fri Feb 3 21:54:53 2023 +0800

    [fix](map-type) fix compile error (#16413)
---
 be/src/runtime/types.cpp   | 1 +
 be/src/vec/exprs/vexpr.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/be/src/runtime/types.cpp b/be/src/runtime/types.cpp
index 386f3b57f0..2945bfd33f 100644
--- a/be/src/runtime/types.cpp
+++ b/be/src/runtime/types.cpp
@@ -234,6 +234,7 @@ TypeDescriptor::TypeDescriptor(const 
google::protobuf::RepeatedPtrField<PTypeNod
         children.push_back(TypeDescriptor(types, idx));
         ++(*idx);
         children.push_back(TypeDescriptor(types, idx));
+    }
     case TTypeNodeType::STRUCT: {
         type = TYPE_STRUCT;
         size_t children_size = node.struct_fields_size();
diff --git a/be/src/vec/exprs/vexpr.cpp b/be/src/vec/exprs/vexpr.cpp
index c83e524cb7..573a2b705c 100644
--- a/be/src/vec/exprs/vexpr.cpp
+++ b/be/src/vec/exprs/vexpr.cpp
@@ -127,6 +127,7 @@ Status VExpr::create_expr(doris::ObjectPool* pool, const 
doris::TExprNode& texpr
     }
     case TExprNodeType::MAP_LITERAL: {
         *expr = pool->add(new VMapLiteral(texpr_node));
+    }
     case TExprNodeType::STRUCT_LITERAL: {
         *expr = pool->add(new VStructLiteral(texpr_node));
         return Status::OK();


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

Reply via email to