zhangstar333 commented on code in PR #32158: URL: https://github.com/apache/doris/pull/32158#discussion_r1522449239
########## docs/zh-CN/docs/sql-manual/sql-functions/string-functions/repeat.md: ########## @@ -33,6 +33,13 @@ under the License. 将字符串 str 重复 count 次输出,count 小于1时返回空串,str,count 任一为NULL时,返回 NULL +:::tip +repeat 函数默认最多输出 10000 个字符,可通过会话变量调整限制。 Review Comment: count = std::min<int>(count, repeat_max_num); -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org