Seaven commented on a change in pull request #2979: Incomplete support Array type (#2871) URL: https://github.com/apache/incubator-doris/pull/2979#discussion_r387468284
########## File path: be/src/exprs/anyval_util.cpp ########## @@ -164,10 +166,64 @@ FunctionContext::TypeDesc AnyValUtil::column_type_to_type_desc(const TypeDescrip case TYPE_NULL: out.type = FunctionContext::TYPE_NULL; break; + case TYPE_ARRAY: { + out.type = FunctionContext::TYPE_ARRAY; + for (auto&& t : type.children) { Review comment: Em,the better way is `const auto &`, will modify it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org