This is an automated email from the ASF dual-hosted git repository. eldenmoon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 18692b2a7c fixed (#22481) 18692b2a7c is described below commit 18692b2a7c08f8fab64b30a241dfb8bfcdc3144d Author: amory <wangqian...@selectdb.com> AuthorDate: Wed Aug 2 14:22:16 2023 +0800 fixed (#22481) [FIX](array) fix array-dcheck-contains_null --- be/src/runtime/types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/runtime/types.cpp b/be/src/runtime/types.cpp index 4e5eca722b..a919995369 100644 --- a/be/src/runtime/types.cpp +++ b/be/src/runtime/types.cpp @@ -63,11 +63,11 @@ TypeDescriptor::TypeDescriptor(const std::vector<TTypeNode>& types, int* idx) case TTypeNodeType::ARRAY: { DCHECK(!node.__isset.scalar_type); DCHECK_LT(*idx, types.size() - 1); - DCHECK_EQ(node.contains_nulls.size(), 1); type = TYPE_ARRAY; contains_nulls.reserve(1); // here should compatible with fe 1.2, because use contains_null in contains_nulls if (node.__isset.contains_nulls) { + DCHECK_EQ(node.contains_nulls.size(), 1); contains_nulls.push_back(node.contains_nulls[0]); } else { contains_nulls.push_back(node.contains_null); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org