This is an automated email from the ASF dual-hosted git repository. xuyang pushed a commit to branch struct-type in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/struct-type by this push: new b3b29cfc29 [fix](map-type) fix compile error (#16413) b3b29cfc29 is described below commit b3b29cfc295d68a236084851ade3ef2f3c3069b6 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 ac6b4e53c6..b9a3a80c74 100644 --- a/be/src/vec/exprs/vexpr.cpp +++ b/be/src/vec/exprs/vexpr.cpp @@ -128,6 +128,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