zclllyybb commented on code in PR #34810:
URL: https://github.com/apache/doris/pull/34810#discussion_r1599728446
##########
regression-test/suites/query_p1/test_big_pad.groovy:
##########
@@ -30,11 +30,16 @@ suite("test_big_pad") {
distributed BY hash(k1) buckets 3
properties("replication_num" = "1");
"""
-
+ test {
+ sql "select rpad('a',2000000000,'asd');"
+ exception "rpad function the length argument is 2000000000 exceeded
maximum default value"
+ }
+ sql """ set repeat_max_num = 2000000001 """
Review Comment:
should add a test which could get the result after change the variable.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]