[improve](function) add limit check for lpad/rpad function input big value of length#34810
[improve](function) add limit check for lpad/rpad function input big value of length#34810HappenLee merged 4 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40312 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 186804 ms |
TPC-H: Total hot run time: 40653 ms |
TPC-DS: Total hot run time: 186868 ms |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 41791 ms |
TPC-DS: Total hot run time: 187415 ms |
ClickBench: Total hot run time: 30.61 s |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 40591 ms |
TPC-DS: Total hot run time: 187618 ms |
ClickBench: Total hot run time: 30.57 s |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 41584 ms |
TPC-DS: Total hot run time: 186604 ms |
ClickBench: Total hot run time: 30.05 s |
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 41738 ms |
TPC-DS: Total hot run time: 187109 ms |
ClickBench: Total hot run time: 31.05 s |
|
run performance |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…value of length (#34810)
if the user input big value of length, maybe cause some memory problem or
exceeded size limit of thrift, so add this check to report error for user firstly.
Proposed changes
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...