This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch dev-1.0.1 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 80f54994234bc751e21e2121f312df4fce450ba8 Author: HappenLee <happen...@hotmail.com> AuthorDate: Wed Mar 16 11:38:55 2022 +0800 [fix] min function of not null varchar column get error result (#8479) --- be/src/exprs/anyval_util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/exprs/anyval_util.h b/be/src/exprs/anyval_util.h index 6e729e8..f287477 100644 --- a/be/src/exprs/anyval_util.h +++ b/be/src/exprs/anyval_util.h @@ -193,6 +193,7 @@ public: StringVal max_val; max_val.ptr = ctx->allocate(sv.len); memcpy(max_val.ptr, sv.ptr, sv.len); + max_val.len = sv.len; return max_val; } else if constexpr (std::is_same_v<Val, DateTimeVal>) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org